From 933e88694f651c9346c1975d8dddc665f45db458 Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Sun, 14 Jul 2024 10:14:09 -0400 Subject: [PATCH] Simplified README --- README.md | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 4dbece62..719d4500 100644 --- a/README.md +++ b/README.md @@ -61,43 +61,25 @@ This repo contains a docker-compose environment that will run the following comp First, copy `.env.example` in your repo to `.env` in the same location, then adjust the following valriables. - If using **Azure OpenAI**, you will need to set these in your `.env` ... - ``` - RECIPES_OPENAI_API_TYPE=azure - RECIPES_OPENAI_API_KEY= - RECIPES_OPENAI_API_ENDPOINT=.openai.azure.com/> - RECIPES_OPENAI_API_VERSION= - RECIPES_MODEL= + RECIPES_OPENAI_API_TYPE= + RECIPES_OPENAI_API_KEY= + RECIPES_OPENAI_API_ENDPOINT=.openai.azure.com/> + RECIPES_OPENAI_API_VERSION= + RECIPES_MODEL= - ASSISTANTS_API_TYPE=azure + ASSISTANTS_API_TYPE= ASSISTANTS_API_KEY= ASSISTANTS_ID= - ASSISTANTS_BASE_URL=.openai.azure.com/> - ASSISTANTS_API_VERSION= - ASSISTANTS_MODEL= + ASSISTANTS_BASE_URL=.openai.azure.com/> + ASSISTANTS_API_VERSION= + ASSISTANTS_MODEL= ASSISTANTS_BOT_NAME= ``` Note: In Azure Playground, you can view code for your assistant which provide most of the variables above - If using **OpenAI directly***, you will instead need to set these ... - - ``` - RECIPES_OPENAI_API_TYPE=openai - RECIPES_OPENAI_API_KEY= - RECIPES_MODEL= - RECIPES_OPENAI_TEXT_COMPLETION_DEPLOYMENT_NAME=text-embedding-ada-002 - - ASSISTANTS_API_TYPE=openai - OPENAI_API_KEY= - ASSISTANTS_API_KEY=${OPENAI_API_KEY} - ASSISTANTS_ID= - ASSISTANTS_MODEL= - ASSISTANTS_BOT_NAME= - ``` - Be aware that lower-power models such as GPT-3.5-Turbo can serve recipes and carry out basic chat, but perform poorly for analysis and code generation. Not needed for quick start, but if you want to run ingestion of data with the new HDX API, then you will need to set ...