Skip to content

Commit 791b570

Browse files
authored
Merge pull request #22 from BillFarber/main
remove old TODO
2 parents 9c10d39 + 4e32dd0 commit 791b570

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

rag-langchain-python/vector_query_retriever.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,6 @@ def create(
2121
)
2222

2323
def _build_eval_script(self, query, query_embedding):
24-
# TODO Will move this into README.
25-
# If limits are hit, consider different models:
26-
# gpt-35-turbo (0125): 16,385/4,096
27-
# gpt-35-turbo (1106): 16,385/4,096
28-
# gpt-35-turbo-16k (0613):
29-
30-
# This JavaScript consists of a single Optic query. The Optic query
31-
# starts with a word query to find candidate documents. It then uses
32-
# a join to match the embeddings up with the candidate documents.
33-
# Next, it performs a cosine similarity operation and sorts the
34-
# candidate documents based on the results of that operation. Finally,
35-
# it returns those documents to the chain.
36-
3724
words = []
3825
for word in query.split():
3926
if len(word) > 2:

0 commit comments

Comments
 (0)