Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -370,10 +370,12 @@ def respond_with_groq(question, selected_q, model):
|
|
370 |
|
371 |
# 검색 테스트
|
372 |
try:
|
|
|
373 |
retriever = combined_vectorstore.as_retriever(
|
374 |
search_type="mmr",
|
375 |
search_kwargs={"k": 10, "lambda_mult": 0.5}
|
376 |
)
|
|
|
377 |
docs = retriever.invoke(question)
|
378 |
print(f"🔍 검색된 문서 수: {len(docs)}")
|
379 |
except Exception as e:
|
|
|
370 |
|
371 |
# 검색 테스트
|
372 |
try:
|
373 |
+
print(f"🔍 질문: {question}")
|
374 |
retriever = combined_vectorstore.as_retriever(
|
375 |
search_type="mmr",
|
376 |
search_kwargs={"k": 10, "lambda_mult": 0.5}
|
377 |
)
|
378 |
+
print(f"🔍 질문: {question}")
|
379 |
docs = retriever.invoke(question)
|
380 |
print(f"🔍 검색된 문서 수: {len(docs)}")
|
381 |
except Exception as e:
|