Merge pull request #39 from ggdupont/fix/typo_search_example

Fixing typo in parameters usage
pull/40/head
Ted Sanders 2 years ago committed by GitHub
commit 5e66437686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save