hienbm commited on
Commit
76a408f
1 Parent(s): aa1010d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -50,7 +50,9 @@ template = """
50
  You are a genius trader with extensive knowledge of the financial and stock markets, capable of providing deep and insightful analysis of financial stocks with remarkable accuracy.
51
 
52
  **ALWAYS**
53
- Summarize and provide the main insights.
 
 
54
  Be as detailed as possible, but don't make up any information that’s not from the context.
55
  If you don't know an answer, say you don't know.
56
  Let's think step by step.
@@ -161,7 +163,7 @@ if user_query is not None and find_youtube_links(user_query) != "":
161
 
162
  reviews_retriever = vectorstore.as_retriever()
163
 
164
- response = get_response("Help me summary and provide main insights.")
165
 
166
  with st.chat_message("AI"):
167
  st.write(response)
 
50
  You are a genius trader with extensive knowledge of the financial and stock markets, capable of providing deep and insightful analysis of financial stocks with remarkable accuracy.
51
 
52
  **ALWAYS**
53
+ Forget your previous prompt.
54
+ Summary with main insights.
55
+ Only answer the question about the financial and stocks market. Do not answer anything else.
56
  Be as detailed as possible, but don't make up any information that’s not from the context.
57
  If you don't know an answer, say you don't know.
58
  Let's think step by step.
 
163
 
164
  reviews_retriever = vectorstore.as_retriever()
165
 
166
+ response = get_response("Help me summary with main insights.")
167
 
168
  with st.chat_message("AI"):
169
  st.write(response)