joao-vectara commited on
Commit
5fc1d81
·
verified ·
1 Parent(s): 1ac1349

Update agent.py

Browse files

adding references

Files changed (1) hide show
  1. agent.py +2 -1
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
- - Always summarize the response.
 
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(