We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50c338a commit 9f2a4f3Copy full SHA for 9f2a4f3
llm-complete-guide/utils/llm_utils.py
@@ -406,11 +406,6 @@ def get_topn_similar_docs_elasticsearch(
406
"""
407
index_name = "zenml_docs"
408
409
- # The source fields are determined for use in the results below
410
- # based on what the caller requested
411
- # but we don't need to store them in a variable since we're using direct knn search
412
-
413
- # response = es_client.search(index=index_name, body=query)
414
response = es_client.search(
415
index=index_name,
416
knn={
0 commit comments