Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def invoke(openai_api_key, prompt, rag_option):
|
|
55 |
additional_stages = [match_stage]
|
56 |
"""
|
57 |
|
58 |
-
search_results = rag_retrieval(prompt, db, collection)
|
59 |
result = rag_inference(openai_api_key, prompt, search_results)
|
60 |
return result
|
61 |
|
|
|
55 |
additional_stages = [match_stage]
|
56 |
"""
|
57 |
|
58 |
+
search_results = rag_retrieval(openai_api_key, prompt, db, collection)
|
59 |
result = rag_inference(openai_api_key, prompt, search_results)
|
60 |
return result
|
61 |
|