ERNIE Bot Agent is a Large Language Model (LLM) Agent Framework, powered by the advanced capabilities of ERNIE Bot and the platform resources of Baidu AI Studio.
(py310) ➜ ✗ python test_erniebot.py
Traceback (most recent call last):
File "/Users/xxxx/opt/miniconda3/envs/py310/lib/python3.10/site-packages/erniebot/response.py", line 120, in __getattr__
val = self.__dict[key]
KeyError: 'get_result'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/xxxx/projects/Knowledge-QA-LLM/test_erniebot.py", line 36, in <module>
print(response.get_result())
File "/Users/xxxx/opt/miniconda3/envs/py310/lib/python3.10/site-packages/erniebot/response.py", line 123, in __getattr__
raise AttributeError
AttributeError
运行环境
运行代码
报错信息