Spaces:
Sleeping
Sleeping
Update chatbot_backend.py
Browse files- chatbot_backend.py +1 -1
chatbot_backend.py
CHANGED
|
@@ -35,7 +35,7 @@ db = FAISS.from_documents(documents, embeddings)
|
|
| 35 |
|
| 36 |
# 🟢 Conversational chain
|
| 37 |
qa = ConversationalRetrievalChain.from_llm(
|
| 38 |
-
ChatGoogleGenerativeAI(model="gemini-
|
| 39 |
db.as_retriever()
|
| 40 |
)
|
| 41 |
|
|
|
|
| 35 |
|
| 36 |
# 🟢 Conversational chain
|
| 37 |
qa = ConversationalRetrievalChain.from_llm(
|
| 38 |
+
ChatGoogleGenerativeAI(model="gemini-1.5-flash", google_api_key=google_api_key),
|
| 39 |
db.as_retriever()
|
| 40 |
)
|
| 41 |
|