Spaces:
Runtime error
Runtime error
Update kadi_apy_bot.py
Browse files- kadi_apy_bot.py +1 -1
kadi_apy_bot.py
CHANGED
|
@@ -25,7 +25,7 @@ class KadiAPYBot:
|
|
| 25 |
|
| 26 |
# Retrieve contexts
|
| 27 |
doc_contexts = self.retrieve_contexts(query, k=3, filter={"directory": "doc/"})
|
| 28 |
-
code_contexts = self.retrieve_contexts(rewritten_query, k=5, filter={"
|
| 29 |
|
| 30 |
|
| 31 |
# Vanilla
|
|
|
|
| 25 |
|
| 26 |
# Retrieve contexts
|
| 27 |
doc_contexts = self.retrieve_contexts(query, k=3, filter={"directory": "doc/"})
|
| 28 |
+
code_contexts = self.retrieve_contexts(rewritten_query, k=5, filter={"usage": code_library_usage_prediction})
|
| 29 |
|
| 30 |
|
| 31 |
# Vanilla
|