Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,9 +92,9 @@ def get_rag_chain_response(user_question):
|
|
| 92 |
return rag_chain.invoke({"question": user_question})
|
| 93 |
|
| 94 |
def get_context_string_testing(user_question):
|
| 95 |
-
#context_str = ' \n'.join(get_context_info(user_question))
|
| 96 |
ret_arr = get_context_info(user_question)
|
| 97 |
-
|
|
|
|
| 98 |
|
| 99 |
# Gradio elements
|
| 100 |
|
|
|
|
| 92 |
return rag_chain.invoke({"question": user_question})
|
| 93 |
|
| 94 |
def get_context_string_testing(user_question):
|
|
|
|
| 95 |
ret_arr = get_context_info(user_question)
|
| 96 |
+
context_str = ' \n'.join(ret_arr)
|
| 97 |
+
return context_str
|
| 98 |
|
| 99 |
# Gradio elements
|
| 100 |
|