Spaces:
Sleeping
Sleeping
raghuv-aditya
commited on
Update chatbot.py
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
@@ -16,7 +16,7 @@ def create_chatbot(vector_store):
|
|
16 |
Returns:
|
17 |
RetrievalQA: A retrieval-based QA system.
|
18 |
"""
|
19 |
-
llm = OpenAI(model="4o
|
20 |
retriever = vector_store.as_retriever(search_type="mmr", k=3)
|
21 |
|
22 |
qa = RetrievalQA.from_chain_type(
|
|
|
16 |
Returns:
|
17 |
RetrievalQA: A retrieval-based QA system.
|
18 |
"""
|
19 |
+
llm = OpenAI(model="gpt-4o-mini", temperature=0.5)
|
20 |
retriever = vector_store.as_retriever(search_type="mmr", k=3)
|
21 |
|
22 |
qa = RetrievalQA.from_chain_type(
|