Customization
Add new API endpoints
- Add handlers under
api/and wire them inapi/register.go. - Use the shared
ragSvcif you need access to retrieval.
Extend ingestion
- Modify chunking behavior in
internal/rag/ingest. - Add metadata enrichment in
BuildChunksor before upsert.
Support new model providers
Implement a new embedder in internal/rag/embed and add a provider switch in internal/rag/service.go and cmd/rag-cli.