Spaces:
Sleeping
Sleeping
Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
|
@@ -568,7 +568,7 @@ def QA_chain(llm):
|
|
| 568 |
)
|
| 569 |
|
| 570 |
# Create and return the question-answering chain
|
| 571 |
-
return
|
| 572 |
|
| 573 |
|
| 574 |
|
|
|
|
| 568 |
)
|
| 569 |
|
| 570 |
# Create and return the question-answering chain
|
| 571 |
+
return rag_chain = prompt | llm | StrOutputParser()
|
| 572 |
|
| 573 |
|
| 574 |
|