Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
set default similarity_top_k to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
SeeknnDestroy committed Nov 8, 2023
1 parent 159afe4 commit bc2ee49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autollm/auto/query_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def create_query_engine(
"vector_store_type": "LanceDBVectorStore"
} if vector_store_params is None else vector_store_params
service_context_params = {} if service_context_params is None else service_context_params
query_engine_params = {} if query_engine_params is None else query_engine_params
query_engine_params = {"similarity_top_k": 5} if query_engine_params is None else query_engine_params

llm = AutoLiteLLM.from_defaults(**llm_params)
service_context = AutoServiceContext.from_defaults(
Expand Down

0 comments on commit bc2ee49

Please sign in to comment.