as-cle-bert commited on
Commit
3cc3c6d
1 Parent(s): e60b3aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def reply(message, history):
24
  global qdrant_client
25
  txt2txt = NeuralSearcher(collection_name, qdrant_client, encoder)
26
  context = txt2txt.search(message)
27
- to_phi = f"Instructions: you are a useful assistant focused on providing valuable content on Climate-related Financial Disclosures, and you should always give coincise and precise answers; Context: {context}; User prompt: {message}"
28
  response = api_client.predict(
29
  to_phi, # str in 'Message' Textbox component
30
  0.2, # float (numeric value between 0 and 1) in 'Temperature' Slider component
 
24
  global qdrant_client
25
  txt2txt = NeuralSearcher(collection_name, qdrant_client, encoder)
26
  context = txt2txt.search(message)
27
+ to_phi = f"Instructions: you are a useful assistant focused on providing valuable content on Climate-related Financial Disclosures; Context: {context}; User prompt: {message}"
28
  response = api_client.predict(
29
  to_phi, # str in 'Message' Textbox component
30
  0.2, # float (numeric value between 0 and 1) in 'Temperature' Slider component