TheBobBob commited on
Commit
9a48c1a
·
verified ·
1 Parent(s): d1c1bae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -168,11 +168,7 @@ def create_vector_db(final_items):
168
  """
169
 
170
  response = llm.generate(
171
- prompt,
172
- temperature = 0.1,
173
- top_p = 0.9,
174
- echo = False,
175
- stop = ['END']
176
  )
177
 
178
  documents.append(response["choices"][0]["text"].strip())
@@ -220,11 +216,7 @@ def generate_response(db, query_text, previous_context):
220
  Once you are done summarizing, type 'END'.
221
  """
222
  response = llm(
223
- prompt_template,
224
- temperature = 0.1,
225
- top_p = 0.9,
226
- echo = False,
227
- stop = ['END']
228
  )
229
 
230
  print(response["choices"][0]["text"].strip())
 
168
  """
169
 
170
  response = llm.generate(
171
+ prompt
 
 
 
 
172
  )
173
 
174
  documents.append(response["choices"][0]["text"].strip())
 
216
  Once you are done summarizing, type 'END'.
217
  """
218
  response = llm(
219
+ prompt_template
 
 
 
 
220
  )
221
 
222
  print(response["choices"][0]["text"].strip())