Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
91 |
-
|
92 |
-
|
93 |
-
|
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
|