ryanrwatkins commited on
Commit
aeece07
Β·
1 Parent(s): 6ca1133

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,8 +123,8 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
123
 
124
  # VectorDBQA.from_chain_type(llm=OpenAI(), chain_type="stuff", vectorstore=docsearch, return_source_documents=True)
125
  # https://colab.research.google.com/drive/1dzdNDZyofRB0f2KIB4gHXmIza7ehMX30?usp=sharing#scrollTo=b-ejDn_JfpWW
 
126
  history.append(prompt_msg)
127
- #history.append(completion.message.to_dict())
128
  history.append(completion.choices[0].message.to_dict())
129
  #history.append(completion["result"].choices[0].message.to_dict())
130
 
 
123
 
124
  # VectorDBQA.from_chain_type(llm=OpenAI(), chain_type="stuff", vectorstore=docsearch, return_source_documents=True)
125
  # https://colab.research.google.com/drive/1dzdNDZyofRB0f2KIB4gHXmIza7ehMX30?usp=sharing#scrollTo=b-ejDn_JfpWW
126
+
127
  history.append(prompt_msg)
 
128
  history.append(completion.choices[0].message.to_dict())
129
  #history.append(completion["result"].choices[0].message.to_dict())
130