nickmuchi commited on
Commit
34d8a94
·
1 Parent(s): ce9e8da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -87,10 +87,10 @@ def load_vectorstore(_embeddings):
87
  def load_prompt():
88
  system_template="""You are an expert in finance, economics, investing, ethics, derivatives and markets.
89
  Use the following pieces of context to answer the users question. If you don't know the answer,
90
- just say that you don't know, don't try to make up an answer. Provide a source reference. ALWAYS return a "sources" part in your answer.
91
- The "sources" part should be a reference to the source of the documents from which you got your answer.
92
-
93
- Remember to only use the given context to answer the question, very critical, only use the given sources to answer.
94
 
95
  The output should be a markdown code snippet formatted in the following schema:
96
  ```json
 
87
  def load_prompt():
88
  system_template="""You are an expert in finance, economics, investing, ethics, derivatives and markets.
89
  Use the following pieces of context to answer the users question. If you don't know the answer,
90
+ just say that you don't know, don't try to make up an answer. Provide a source reference from the context.
91
+ ALWAYS return a "sources" part in your answer.
92
+ The "sources" part should be a reference to the context from which you got your answer.
93
+
94
 
95
  The output should be a markdown code snippet formatted in the following schema:
96
  ```json