From fc8aeb3a7346b5ab41684f6e5a96f4caa7d6c729 Mon Sep 17 00:00:00 2001 From: Edgar Ruiz Date: Fri, 5 Apr 2024 19:58:58 -0500 Subject: [PATCH] Adds getting started code --- .../chat-with-llms-using-chattr.Rmd | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/_posts/2024-04-04-chat-with-llms-using-chattr/chat-with-llms-using-chattr.Rmd b/_posts/2024-04-04-chat-with-llms-using-chattr/chat-with-llms-using-chattr.Rmd index c43d8b3f..562f6e9c 100644 --- a/_posts/2024-04-04-chat-with-llms-using-chattr/chat-with-llms-using-chattr.Rmd +++ b/_posts/2024-04-04-chat-with-llms-using-chattr/chat-with-llms-using-chattr.Rmd @@ -29,7 +29,20 @@ knitr::opts_chunk$set( ``` -## Works with Copilot and ChatGPT +## Getting started + +```r +chattr::chattr_app() + +#> ── chattr - Available models +#> +#> 1: GitHub - Copilot Chat - (copilot) +#> 2: OpenAI - Chat Completions - gpt-3.5-turbo (gpt35) +#> 3: OpenAI - Chat Completions - gpt-4 (gpt4) +#> 4: LlamaGPT - ~/ggml-gpt4all-j-v1.3-groovy.bin (llamagpt) +#> +#> Select the number of the model you would like to use: +``` ## Works with local LLMs @@ -48,7 +61,8 @@ application by starting an 'hidden' terminal session, where it initializes the selected model, and makes it available to start chatting with it. To get started, you need to install LlamaGPTJ-chat, and download a compatible -model. More detailed instructions are found [here](https://mlverse.github.io/chattr/articles/backend-llamagpt.html#installation). +model. More detailed instructions are found +[here](https://mlverse.github.io/chattr/articles/backend-llamagpt.html#installation). ## Integrating with `chattr`