Skip to content

Commit

Permalink
Fix up docbot - pass llm arg for QueryFusionRetriever (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen authored Aug 13, 2024
1 parent 9355db7 commit 17b9c18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit 17b9c18

Please sign in to comment.