i-am-bee / bee-stack

Run the entire bee application stack using docker-compose
Apache License 2.0
76 stars 18 forks source link

ReadFile tool: Error reading files #44

Open hebusch opened 1 week ago

hebusch commented 1 week ago

Bug Description

I’m experiencing issues when attaching files for the agent to read. I’ve tested with small files (under 100 KB) in PDF, CSV, and PPTX formats, but each attempt results in the same error.

I have noticed this happens with ReadFile tool activated:

Regenerate
An error occurred
    [cause]: Error: [
  {
    "code": "invalid_union",
    "unionErrors": [],
    "path": [
      "filename"
    ],
    "message": "Invalid input"
  }
]

image

I can only read files using the Python Intepreter tool, but I think is not optimal for reading files such as PDF, Word, etc...

Additional information

I'm running bee-stack in a podman machine (8gb ram, 5 cpus, 100GB disk size).

image

mmurad2 commented 1 week ago

This is an issue we are aware of. We're working on adding docling as text extraction service. We'll keep you posted on when that is merged @hebusch

@pilartomas feel free to add any context I'm missing/