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' ]