Spaces:
Running
Running
fahmiaziz98
commited on
Commit
·
9afa008
1
Parent(s):
182c9d1
init
Browse files- apps/agent/tools.py +1 -0
apps/agent/tools.py
CHANGED
@@ -19,6 +19,7 @@ def multiquery_retriever(index_name: str, embeddings, compressor) -> ContextualC
|
|
19 |
reranker_retriever = ContextualCompressionRetriever(
|
20 |
base_compressor=compressor, base_retriever=retriever
|
21 |
)
|
|
|
22 |
return MultiQueryRetriever(
|
23 |
retriever=reranker_retriever, llm_chain=llm_chain, parser_key="lines"
|
24 |
)
|
|
|
19 |
reranker_retriever = ContextualCompressionRetriever(
|
20 |
base_compressor=compressor, base_retriever=retriever
|
21 |
)
|
22 |
+
print("Initialize MultiQuery...")
|
23 |
return MultiQueryRetriever(
|
24 |
retriever=reranker_retriever, llm_chain=llm_chain, parser_key="lines"
|
25 |
)
|