File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments