Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -326,7 +326,7 @@ def search_assistant_api(query, data_type, model="openai/gpt-4o-mini"):
|
|
326 |
yield content
|
327 |
logger.info(f"Completed {data_type} assistant response for query: {query}")
|
328 |
logger.info(f"LLM Response: {full_response}")
|
329 |
-
yield "<json>"+ json.dumps(search_data)+"</json>"
|
330 |
return process_response
|
331 |
|
332 |
def create_streaming_response(generator):
|
|
|
326 |
yield content
|
327 |
logger.info(f"Completed {data_type} assistant response for query: {query}")
|
328 |
logger.info(f"LLM Response: {full_response}")
|
329 |
+
yield "<json><ref>"+ json.dumps(search_data)+"</ref></json>"
|
330 |
return process_response
|
331 |
|
332 |
def create_streaming_response(generator):
|