From a809c535fb3b8f07b5d9033fb48b58e4c250d33b Mon Sep 17 00:00:00 2001 From: Aboli Rajendra Kasar Date: Sat, 23 Nov 2024 23:21:44 -0500 Subject: [PATCH] Minor changes --- MinuteMate/README.md | 2 +- MinuteMate/back/.env.example | 2 +- MinuteMate/back/main.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MinuteMate/README.md b/MinuteMate/README.md index 62b4ca45..98378790 100644 --- a/MinuteMate/README.md +++ b/MinuteMate/README.md @@ -43,7 +43,7 @@ streamlit run app.py **Back-End ``` cd /MinuteMate/back/ -uvicorn main02:app --reload +uvicorn main:app --reload ``` diff --git a/MinuteMate/back/.env.example b/MinuteMate/back/.env.example index 7484b918..a179fe95 100644 --- a/MinuteMate/back/.env.example +++ b/MinuteMate/back/.env.example @@ -2,5 +2,5 @@ OPENAI_API_KEY = # Weaviate cloud deployment -WEAVIATE_URL = +WEAVIATE_ENDPOINT_URL = WEAVIATE_API_KEY = \ No newline at end of file diff --git a/MinuteMate/back/main.py b/MinuteMate/back/main.py index f87caef7..61ee4fc6 100644 --- a/MinuteMate/back/main.py +++ b/MinuteMate/back/main.py @@ -105,7 +105,7 @@ def __init__(self): # Initialize clients self.weaviate_client = WeaviateConfig.get_weaviate_client( - self.WEAVIATE_URL, + self.WEAVIATE_ENDPOINT_URL, self.WEAVIATE_API_KEY ) self.openai_client = OpenAI(api_key=self.OPENAI_API_KEY) @@ -114,7 +114,7 @@ def load_env_vars(self): """Load and validate environment variables""" required_vars = [ 'OPENAI_API_KEY', - 'WEAVIATE_URL', + 'WEAVIATE_ENDPOINT_URL', 'WEAVIATE_API_KEY' ]