Skip to content

Commit 9f2a4f3

Browse files
strickvlCopilot
andauthored
Update llm-complete-guide/utils/llm_utils.py
Co-authored-by: Copilot <[email protected]>
1 parent 50c338a commit 9f2a4f3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llm-complete-guide/utils/llm_utils.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -406,11 +406,6 @@ def get_topn_similar_docs_elasticsearch(
406406
"""
407407
index_name = "zenml_docs"
408408

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)
414409
response = es_client.search(
415410
index=index_name,
416411
knn={

0 commit comments

Comments
 (0)