defenseunicorns / leapfrogai

Production-ready Generative AI for local, cloud native, airgap, and edge deployments.
https://leapfrog.ai
Apache License 2.0
245 stars 25 forks source link

bug(api): Failure to retrieve content of docx files #585

Open CollectiveUnicorn opened 1 month ago

CollectiveUnicorn commented 1 month ago

Environment

Device and OS: Pop!_OS App/package versions: Latest Kubernetes distro being used: k3d (v1.27.4+k3s1)

Steps to reproduce

  1. Go to the swagger endpoint at https://leapfrogai-api.uds.dev/docs
  2. Upload a file at https://leapfrogai-api.uds.dev/openai/v1/files
  3. Attempt to retrieve the file contents using https://leapfrogai-api.uds.dev/openai/v1/files//content
  4. You should receive Internal Server Error

Expected result

  1. The content of the docx file is returned back to the user

Actual Result

Visual Proof (screenshots, videos, text, etc)

Screenshot 2024-06-03 at 12 50 04 PM Screenshot 2024-06-03 at 12 50 56 PM

Severity/Priority

Low

Additional Context

Occurs when attempting to retrieve the content of a docx. This does not hamper any vector store functionality or the retrieval when performing a query. Just when hitting the retrieve endpoint.