update readme and chrome example

This commit is contained in:
yichuan520030910320
2025-07-17 12:58:11 -07:00
parent e115e186b7
commit 0db81c16cd
2 changed files with 64 additions and 122 deletions

View File

@@ -204,9 +204,9 @@ async def query_leann_index(index_path: str, query: str):
print(f"You: {query}")
chat_response = chat.ask(
query,
top_k=5,
top_k=10,
recompute_beighbor_embeddings=True,
complexity=128,
complexity=32,
beam_width=1,
llm_config={
"type": "openai",