Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -92,11 +92,12 @@ def load_vectorstore(_embeddings):
|
|
92 |
def load_prompt():
|
93 |
system_template="""You are an expert in finance, economics, investing, ethics, derivatives and markets.
|
94 |
Use the following pieces of context to answer the users question. If you don't know the answer,
|
95 |
-
just say that you don't know, don't try to make up an answer.
|
96 |
ALWAYS return a "sources" part in your answer.
|
97 |
-
The "sources" part should be a reference to the source of the
|
98 |
|
99 |
-
You can
|
|
|
100 |
|
101 |
The output should be a markdown code snippet formatted in the following schema:
|
102 |
```json
|
|
|
92 |
def load_prompt():
|
93 |
system_template="""You are an expert in finance, economics, investing, ethics, derivatives and markets.
|
94 |
Use the following pieces of context to answer the users question. If you don't know the answer,
|
95 |
+
just say that you don't know, don't try to make up an answer.
|
96 |
ALWAYS return a "sources" part in your answer.
|
97 |
+
The "sources" part should be a reference to the source of the context from which you got your answer. List all sources used
|
98 |
|
99 |
+
You can use other sources to answer the question if and only if the given context does not have sufficient and relevant information to answer
|
100 |
+
the question.
|
101 |
|
102 |
The output should be a markdown code snippet formatted in the following schema:
|
103 |
```json
|