andrewgleave commited on
Commit
4196ff5
1 Parent(s): 2b5fa7b

Switch davinci for gpt-3.5-turbo-instruct

Browse files
Files changed (1) hide show
  1. chain.py +1 -1
chain.py CHANGED
@@ -105,7 +105,7 @@ QUESTION: {question}
105
  ANSWER:"""
106
  PROMPT = PromptTemplate(template=template, input_variables=["question", "context"])
107
  doc_chain = load_qa_chain(
108
- OpenAI(temperature=0, model_name="text-davinci-003", max_tokens=-1),
109
  chain_type="stuff",
110
  prompt=PROMPT,
111
  document_prompt=EXAMPLE_PROMPT,
 
105
  ANSWER:"""
106
  PROMPT = PromptTemplate(template=template, input_variables=["question", "context"])
107
  doc_chain = load_qa_chain(
108
+ OpenAI(temperature=0, model_name="gpt-3.5-turbo-instruct", max_tokens=-1),
109
  chain_type="stuff",
110
  prompt=PROMPT,
111
  document_prompt=EXAMPLE_PROMPT,