Update app.py
Browse files
app.py
CHANGED
@@ -201,6 +201,7 @@ class OptimizedRAGLoader:
|
|
201 |
return retriever_function
|
202 |
|
203 |
# Initialize components
|
|
|
204 |
llm = ChatMistralAI(
|
205 |
model="mistral-large-latest",
|
206 |
mistral_api_key=mistral_api_key,
|
|
|
201 |
return retriever_function
|
202 |
|
203 |
# Initialize components
|
204 |
+
mistral_api_key = os.getenv("mistral_api_key")
|
205 |
llm = ChatMistralAI(
|
206 |
model="mistral-large-latest",
|
207 |
mistral_api_key=mistral_api_key,
|