Skip to content

RFE: Accept file:// for URI for RAGDocument #3463

@dkennetzoracle

Description

@dkennetzoracle

🚀 Describe the new functionality needed

Hi llama-stack team, I built an application with a portal and a backend which processes PDFs, either via a URL or a file upload to the server.

The URL component works with a RAGDocument type, but when I try to pass it a file:// uri, I get an error:

route='/v1/tool-runtime/rag-tool/insert' method='post': Request URL is missing an 'http://' or 'https://' protocol.

This is a fairly common use case for teams doing document ingestion.

💡 Why is this needed? What if we don't build it?

This is needed because I now have 2 different methods for PDF ingestion - one by llama-stack and one hand-rolled method by me, which will result in differences in my vector database. It increases the scope and capability of what llama-stack can accomplish.

If you don't build it, people will need a workaround for something you largely have the capabilities for already.

Other thoughts

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions