Merge pull request #39 from ggdupont/fix/typo_search_example
Fixing typo in parameters usage
This commit is contained in:
commit
5e66437686
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue