Skip to content

Commit

Permalink
Merge pull request #22 from BillFarber/main
Browse files Browse the repository at this point in the history
remove old TODO
  • Loading branch information
rjrudin authored Oct 10, 2024
2 parents 9c10d39 + 4e32dd0 commit 791b570
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions rag-langchain-python/vector_query_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@ def create(
)

def _build_eval_script(self, query, query_embedding):
# TODO Will move this into README.
# If limits are hit, consider different models:
# gpt-35-turbo (0125): 16,385/4,096
# gpt-35-turbo (1106): 16,385/4,096
# gpt-35-turbo-16k (0613):

# This JavaScript consists of a single Optic query. The Optic query
# starts with a word query to find candidate documents. It then uses
# a join to match the embeddings up with the candidate documents.
# Next, it performs a cosine similarity operation and sorts the
# candidate documents based on the results of that operation. Finally,
# it returns those documents to the chain.

words = []
for word in query.split():
if len(word) > 2:
Expand Down

0 comments on commit 791b570

Please sign in to comment.