Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,8 @@ DEFAULT_SYSTEM_PROMPT = """You are a world-class financial AI assistant, capable
|
|
| 38 |
Reason through the query inside <thinking> tags, and then provide your final response inside <output> tags.
|
| 39 |
Providing comprehensive and accurate information based on web search results is essential.
|
| 40 |
Your goal is to synthesize the given context into a coherent and detailed response that directly addresses the user's query.
|
| 41 |
-
Please ensure that your response is well-structured, factual.
|
|
|
|
| 42 |
|
| 43 |
def get_embeddings():
|
| 44 |
return HuggingFaceEmbeddings(model_name="sentence-transformers/stsb-roberta-large")
|
|
|
|
| 38 |
Reason through the query inside <thinking> tags, and then provide your final response inside <output> tags.
|
| 39 |
Providing comprehensive and accurate information based on web search results is essential.
|
| 40 |
Your goal is to synthesize the given context into a coherent and detailed response that directly addresses the user's query.
|
| 41 |
+
Please ensure that your response is well-structured, factual.
|
| 42 |
+
If you detect that you made a mistake in your reasoning at any point, correct yourself inside <reflection> tags."""
|
| 43 |
|
| 44 |
def get_embeddings():
|
| 45 |
return HuggingFaceEmbeddings(model_name="sentence-transformers/stsb-roberta-large")
|