From b17f4806a30b95799b31e245cccca04ed41b2dcc Mon Sep 17 00:00:00 2001 From: Sam Kemp Date: Mon, 27 May 2024 12:47:12 +0100 Subject: [PATCH] Updated README.md --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3566f6a..6dd9c53 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,8 @@ This project allows an AI model to write/execute code on your computer that may ## Installation -Add the environment variable for the model you want to use: - -| API | Env Variable | Example Model name | Docs | +Rename `config.example.json` to `config.json` and fill in the desired API keys +| API | Config Variable | Example Model name | Docs | |------|------|------|------| | OpenAI | `OPENAI_API_KEY` | `gpt-3.5-turbo` | [docs](https://platform.openai.com/docs/models) | (optionally add `OPENAI_ORG_ID`) | Google | `GEMINI_API_KEY` | `gemini-pro` | [docs](https://ai.google.dev/gemini-api/docs/models/gemini) | @@ -24,8 +23,6 @@ Add the environment variable for the model you want to use: | Replicate | `REPLICATE_API_KEY` | `meta/meta-llama-3-70b-instruct` | [docs](https://replicate.com/collections/language-models) | | Ollama (local) | n/a | `llama3` | [docs](https://ollama.com/library) | -⭐[How do I add the API key as an environment variable?](https://phoenixnap.com/kb/windows-set-environment-variable)⭐ - If you use Ollama, to install the models used by default (generation and embedding), execute the following terminal command: `ollama pull llama3 && ollama pull nomic-embed-text`