AhmedEwis commited on
Commit
36923cd
1 Parent(s): 0db0856

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -625,7 +625,7 @@ texts = text_splitter.split_text(state_of_the_union)
625
 
626
  embeddings = OpenAIEmbeddings()
627
  vectorstore = FAISS.from_texts(texts, embeddings)
628
- qa = VectorDBQA.from_chain_type(llm=OpenAI(model_name="gpt-3.5-turbo", temperature=0, max_tokens=256), chain_type="stuff", vectorstore=vectorstore)
629
  #llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, max_tokens=256) # Modify model_name if you have access to GPT-4
630
 
631
 
 
625
 
626
  embeddings = OpenAIEmbeddings()
627
  vectorstore = FAISS.from_texts(texts, embeddings)
628
+ qa = VectorDBQA.from_chain_type(llm=OpenAI(model_name="text-davinci-002", temperature=0, max_tokens=256), chain_type="stuff", vectorstore=vectorstore)
629
  #llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, max_tokens=256) # Modify model_name if you have access to GPT-4
630
 
631