Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadFile tool: Error reading files #44

Open
hebusch opened this issue Nov 13, 2024 · 1 comment
Open

ReadFile tool: Error reading files #44

hebusch opened this issue Nov 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hebusch
Copy link

hebusch commented Nov 13, 2024

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
Copy link
Member

mmurad2 commented Nov 18, 2024

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/

@mmurad2 mmurad2 added the bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants