Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up docbot - pass llm arg for QueryFusionRetriever #785

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ai/docbot/docs_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def build_or_load_index():
index.as_retriever(similarity_top_k=5),
bm25_retriever,
],
llm=llm,
num_queries=1,
use_async=True,
similarity_top_k=5,
Expand Down
2 changes: 1 addition & 1 deletion ai/docbot/eval_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def index():
with me.box(
style=me.Style(
display="grid",
grid_template_columns="160px 1fr 1fr 1fr 1fr"
grid_template_columns="160px 300px 1fr 300px 1fr"
if state.group_2.items
else "160px 1fr 1fr",
gap=16,
Expand Down
Loading