defenseunicorns / leapfrogai

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

feat(ui): Markdown support for File Management #955

Open unicorn-kp opened 2 weeks ago

unicorn-kp commented 2 weeks ago

User Story

As a user of LeapfrogAI I want to upload markdown files into my assistants So that I can work with my notes as well as information pulled from static sites on the web.

Acceptance Criteria

Given A markdown file When I upload it Then the system ingests it and vectorizes it in my database

Describe alternatives you've considered

I have converted the small amount of markdown documents into text, but for a large number of documents, this is untenable.

gphorvath commented 2 weeks ago

The API supports markdown. This might be a limitation of the UI, or a bug if you are attempting to use the API directly.

https://github.com/defenseunicorns/leapfrogai/blob/1a8064678a550471c843d9e2d2728bdf2122a38f/src/leapfrogai_api/backend/rag/document_loader.py#L25