Update agent.py
Browse filesadding references
agent.py
CHANGED
@@ -50,7 +50,8 @@ def create_assistant_tools(cfg):
|
|
50 |
def initialize_agent(_cfg, agent_progress_callback=None):
|
51 |
stc_bank_bot_instructions = """
|
52 |
- Call the the ask_docs tool to retrieve the information to answer the user query.
|
53 |
-
-
|
|
|
54 |
"""
|
55 |
|
56 |
agent = Agent(
|
|
|
50 |
def initialize_agent(_cfg, agent_progress_callback=None):
|
51 |
stc_bank_bot_instructions = """
|
52 |
- Call the the ask_docs tool to retrieve the information to answer the user query.
|
53 |
+
- If the question has an 'Excel' or 'excel' word only fetch for the documents with 'type_file' equals to 'excel'.
|
54 |
+
- Always print the title of the References
|
55 |
"""
|
56 |
|
57 |
agent = Agent(
|