Spaces:
Sleeping
Sleeping
Ilyas KHIAT
commited on
Commit
·
04c9a9c
1
Parent(s):
eeaf024
api first commit by me :)
Browse files
rag.py
CHANGED
@@ -98,7 +98,7 @@ def generate_response_via_langchain(query: str, stream: bool = False, model: str
|
|
98 |
return llm_chain.astream({ "query": query, "context": context, "messages": messages})
|
99 |
|
100 |
# Invoke the LLM chain and return the result
|
101 |
-
return llm_chain.invoke({"query": query})
|
102 |
|
103 |
|
104 |
|
|
|
98 |
return llm_chain.astream({ "query": query, "context": context, "messages": messages})
|
99 |
|
100 |
# Invoke the LLM chain and return the result
|
101 |
+
return llm_chain.invoke({ "query": query, "context": context, "messages": messages})
|
102 |
|
103 |
|
104 |
|