-
Notifications
You must be signed in to change notification settings - Fork 10
Document Upload: Streamline to provider upload #734
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the current behavior
Currently, document upload is a two-step process which takes a long time:
- POST /documents - Uploads file to S3 and saves to database only
- POST /collections - Internally downloads files from S3, uploads to provider (OpenAI/Bedrock), creates vector store
Describe the enhancement you'd like
Add optional upload_to_provider parameter to document upload endpoin.
New flow would be:
- Upload to S3 (current)
- Save to DB (current)
- NEW: Upload to provider (OpenAI/Bedrock/Gemini) if specified
- Store provider_file_id in document
- Collection creation uses existing provider files → much faster
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
In Progress