Spaces:
Build error
Build error
Update modules/data_processor.py
Browse files
modules/data_processor.py
CHANGED
|
@@ -33,6 +33,7 @@ def process_query_and_update_csv(file_path, query_template):
|
|
| 33 |
|
| 34 |
# Process the query using provided functions
|
| 35 |
raw_data = get_raw_data(file_path, query)
|
|
|
|
| 36 |
vector_store = process_safety_with_chroma(raw_data)
|
| 37 |
qa_system = create_chatbot(vector_store)
|
| 38 |
prompt = f"Give me the exact answer for this below query '{query}' in a structured format with a link from the content provided only."
|
|
|
|
| 33 |
|
| 34 |
# Process the query using provided functions
|
| 35 |
raw_data = get_raw_data(file_path, query)
|
| 36 |
+
print(raw_data)
|
| 37 |
vector_store = process_safety_with_chroma(raw_data)
|
| 38 |
qa_system = create_chatbot(vector_store)
|
| 39 |
prompt = f"Give me the exact answer for this below query '{query}' in a structured format with a link from the content provided only."
|