Spaces:
Running
Running
vectara-agentic version bump
Browse files- agent.py +1 -2
- requirements.txt +1 -1
agent.py
CHANGED
@@ -69,7 +69,7 @@ def create_assistant_tools(cfg):
|
|
69 |
income_statement["date"].dt.year == int(year)
|
70 |
]
|
71 |
values_dict = income_statement_specific_year.to_dict(orient="records")[0]
|
72 |
-
return f"Financial results: {', '.join([f'{key}
|
73 |
|
74 |
return f"FMP API returned error {response.status_code}. This tool does not work."
|
75 |
|
@@ -105,7 +105,6 @@ def create_assistant_tools(cfg):
|
|
105 |
get_income_statement,
|
106 |
]
|
107 |
] +
|
108 |
-
tools_factory.standard_tools() +
|
109 |
tools_factory.financial_tools() +
|
110 |
[ask_transcripts]
|
111 |
)
|
|
|
69 |
income_statement["date"].dt.year == int(year)
|
70 |
]
|
71 |
values_dict = income_statement_specific_year.to_dict(orient="records")[0]
|
72 |
+
return f"Financial results: {', '.join([f'{key}={value}' for key, value in values_dict.items() if key not in ['date', 'cik', 'link', 'finalLink']])}"
|
73 |
|
74 |
return f"FMP API returned error {response.status_code}. This tool does not work."
|
75 |
|
|
|
105 |
get_income_statement,
|
106 |
]
|
107 |
] +
|
|
|
108 |
tools_factory.financial_tools() +
|
109 |
[ask_transcripts]
|
110 |
)
|
requirements.txt
CHANGED
@@ -6,4 +6,4 @@ streamlit_feedback==0.1.3
|
|
6 |
uuid==1.30
|
7 |
langdetect==1.0.9
|
8 |
langcodes==3.4.0
|
9 |
-
vectara-agentic==0.1.
|
|
|
6 |
uuid==1.30
|
7 |
langdetect==1.0.9
|
8 |
langcodes==3.4.0
|
9 |
+
vectara-agentic==0.1.13
|