Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ llm = ChatPerplexity(temperature=0, pplx_api_key=GROQ_API_KEY, model="llama-3.1-
|
|
99 |
# base_compressor=compressor, base_retriever=retriever
|
100 |
# )
|
101 |
|
102 |
-
|
103 |
|
104 |
|
105 |
compression_retriever = ContextualCompressionRetriever(
|
|
|
99 |
# base_compressor=compressor, base_retriever=retriever
|
100 |
# )
|
101 |
|
102 |
+
compressor = FlashrankRerank(top_n=10)
|
103 |
|
104 |
|
105 |
compression_retriever = ContextualCompressionRetriever(
|