gkim93 commited on
Commit
bab1e36
·
1 Parent(s): 09b1e6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ with gr.Blocks() as demo:
40
 
41
  def user(user_message, history):
42
  # Get response from QA chain
43
- response = qa({"question": "Eventhough you are given some context think and response like regular ChatGPT 4 using the knowledge from the world wide web" + user_message, "chat_history": chat_history_tuples})
44
  #get document source
45
  #sourceDoc = '\n\n The response was extracted from following sources: \n'
46
  # for doc in response['source_documents']:
 
40
 
41
  def user(user_message, history):
42
  # Get response from QA chain
43
+ response = qa({"question": "Eventhough you are given some context think and response like regular ChatGPT 4 using the knowledge from the world wide web. You are an investment banking analysis, you want to analyze the market and company based on the latest available information. When presented with a question, make sure to acquire latest available in formation before answering the question." + user_message, "chat_history": chat_history_tuples})
44
  #get document source
45
  #sourceDoc = '\n\n The response was extracted from following sources: \n'
46
  # for doc in response['source_documents']: