Add custom function with separate keyword extraction for user's query and a separate prompt

This commit is contained in:
Gurjot Singh
2025-01-14 22:10:47 +05:30
parent 61349b0fe7
commit ef61ffe444
4 changed files with 313 additions and 1 deletions

View File

@@ -39,4 +39,4 @@ print(
# Perform hybrid search
print(
rag.query("What are the top themes in this story?", param=QueryParam(mode="hybrid"))
)
)