This repository was archived by the owner on Jun 16, 2026. It is now read-only.
Description Description
Add support for Mistral batch jobs API for more efficient and cost-effective embedding generation.
Current State
File: mistral.py:33
Only real-time API supported
No batch job support
Benefits of Batch Jobs
Cost savings : Batch pricing typically lower
Efficiency : Process large volumes efficiently
Rate limiting : Avoid rate limit issues
Resource optimization : Better utilization
Challenges
State management : Track batch job status
Async nature : Jobs complete asynchronously
Error handling : Batch failures need special handling
Polling : Need to check job completion
Use Cases
Ideal for:
Initial indexing of large codebases
Periodic re-indexing
Bulk updates
Non-time-critical operations
Less ideal for:
Real-time search
Interactive operations
Time-sensitive updates
Requirements
Implement batch job submission
Add job status polling
Handle batch results
Graceful fallback to real-time API
Configuration for batch vs real-time
Source
File: mistral.py:33
Branch: 003-our-aim-to
Reactions are currently unavailable
Description
Add support for Mistral batch jobs API for more efficient and cost-effective embedding generation.
Current State
mistral.py:33Benefits of Batch Jobs
Challenges
Use Cases
Ideal for:
Less ideal for:
Requirements
Source
mistral.py:33003-our-aim-to