Spaces:
Runtime error
Runtime error
Update kadiApy_ragchain.py
Browse files- kadiApy_ragchain.py +1 -1
kadiApy_ragchain.py
CHANGED
|
@@ -30,7 +30,7 @@ class KadiApyRagchain:
|
|
| 30 |
code_contexts = self.retrieve_contexts(query, k=2)
|
| 31 |
|
| 32 |
query_formulated_question= formulate_question(code_contexts)
|
| 33 |
-
print("question"
|
| 34 |
doc_contexts = self.retrieve_contexts(query_formulated_question, k=2, filter={"dataset_category": "kadi_apy_docs"})
|
| 35 |
|
| 36 |
# Vanilla
|
|
|
|
| 30 |
code_contexts = self.retrieve_contexts(query, k=2)
|
| 31 |
|
| 32 |
query_formulated_question= formulate_question(code_contexts)
|
| 33 |
+
print("question:", query_formulated_question)
|
| 34 |
doc_contexts = self.retrieve_contexts(query_formulated_question, k=2, filter={"dataset_category": "kadi_apy_docs"})
|
| 35 |
|
| 36 |
# Vanilla
|