Skip to content

Commit

Permalink
Fixing typo in parameters usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ggdupont committed Dec 6, 2022
1 parent 2072d1a commit 6b6e632
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_score(context, query, log_probs, text_offsets) -> float:

def search(query, documents, engine):

prompts = [construct_context(query, doc) for doc in [""] + docs]
prompts = [construct_context(query, doc) for doc in [""] + documents]

resps = openai.Completion.create(
model=engine,
Expand Down

0 comments on commit 6b6e632

Please sign in to comment.