AI4Finance-Foundation / FinRobot

FinRobot: An Open-Source AI Agent Platform for Financial Applications using LLMs 🚀 🚀 🚀
https://ai4finance.org
Apache License 2.0
1.61k stars 248 forks source link

agent_annual_report.ipynb:wrong with 'get_key_data' #31

Open SijiaLi0807 opened 4 months ago

SijiaLi0807 commented 4 months ago

I ran agent_annual_report.ipynb in file turtorials_beginner. It analyzes balance sheet successfully and outputs balance_sheet_analysis.txt. However, it fails in the next step. What's wrong 😭

BadRequestError: Error code: 400 - {'error': {'message': "Invalid schema for function 'get_key_data': '' is not valid under any of the given schemas. (request id: 20240706124204617622629refrDPzo) (request id: 20240706124204427722344Qdl5N5gr) (request id: 20240706124203251617704U5v6fbcs) (request id: 20240706124203201500212RlPirC9W)", 'type': 'invalid_request_error', 'param': '', 'code': None}}

<img width="1017" alt="截屏2024-07-06 12 49 51" src="https://github.com/AI4

截屏2024-07-06 12 49 36

Finance-Foundation/FinRobot/assets/174297329/f6552136-da91-4e4e-bc2f-b28d80c5362b">

截屏2024-07-06 12 49 25 截屏2024-07-06 12 49 43 截屏2024-07-06 12 50 00