ERNIE-SDK
ERNIE-SDK copied to clipboard
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.
添加到develop分支 @sijunhe
相关代码如下: file_manager = GlobalFileManagerHandler().get() file = await file_manager.create_file_from_path("road_sign.jpeg") response = await agent_all.run("帮我把图片中的第一个英语单词进行解释之后添加到单词本中", files=[file]) print(response.text) 报错信息如下: function_call: { "name": "highacc-ocr/v1.8/OCR", "thoughts": "图片格式错误,我需要重新调用OCR工具来提取图片中的文字。", "arguments": "{\"image\":\"file-local-e8215a4a-ba5b-11ee-95be-ac1f6bb32462\",\"language_type\":\"auto_detect\"}" } INFO - [Tool][Start] RemoteTool is about...
官方提供的代码: 服务可以起来,信息如下: INFO: Started server process [66580] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8020 (Press CTRL+C to quit) INFO: 127.0.0.1:49190 - "GET /.well-known/openapi.yaml...
我在运行你们的llama-index于er ![error](https://github.com/PaddlePaddle/ERNIE-SDK/assets/96066236/68e8abae-7bf8-4ca5-a1a9-19915f6d2f7c) niebot集成的时候,出现了如下错误,请问,这该怎么解决呢?
``` faiss-cpu 1.7.4 ```
pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for . Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it. If you got...