Spaces:
Build error
Build error
Update rag.py
Browse files
rag.py
CHANGED
@@ -117,6 +117,6 @@ def rag_chain(config, openai_api_key, rag_option, prompt):
|
|
117 |
verbose = False)
|
118 |
|
119 |
completion = rag_chain({"query": prompt}, include_run_info = True)
|
120 |
-
print("###" + completion)
|
121 |
|
122 |
return completion, rag_chain
|
|
|
117 |
verbose = False)
|
118 |
|
119 |
completion = rag_chain({"query": prompt}, include_run_info = True)
|
120 |
+
print("###" + str(completion))
|
121 |
|
122 |
return completion, rag_chain
|