From 6fe34a59acecc9ddf00d7e97861c1e2225248349 Mon Sep 17 00:00:00 2001 From: Felix Gutierrez <104605312+Felixg2468@users.noreply.github.com> Date: Sat, 6 Jan 2024 22:47:17 -0500 Subject: [PATCH 1/2] OpenAI API key in README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bf3f6a74..5c81a1ae 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,13 @@ or #### One Last Step, almost there! If you're using one of the OpenAI models, you will need to set the `LLM_VM_OPENAI_API_KEY` environment -variable with your API key. +variable with your API key. + +**Example:** + +In your project, create a file named `.env`. + +Add the following line to the `.env` file, replacing `your_openai_api_key_here` with your actual OpenAI API key: ### ✅ Generating Completions From 4aa3666c5678a6f485dae9dee9c3e8608611a2a6 Mon Sep 17 00:00:00 2001 From: Felix Gutierrez <104605312+Felixg2468@users.noreply.github.com> Date: Sat, 6 Jan 2024 22:54:34 -0500 Subject: [PATCH 2/2] update readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5c81a1ae..93d0ef0c 100644 --- a/README.md +++ b/README.md @@ -173,6 +173,9 @@ In your project, create a file named `.env`. Add the following line to the `.env` file, replacing `your_openai_api_key_here` with your actual OpenAI API key: +```bash +LLM_VM_OPENAI_API_KEY=your_openai_api_key_here + ### ✅ Generating Completions Our LLM-VM gets you working directly with popular LLMs locally in just 3 lines. Once you've installed it (as above), just load your model and start generating!