Skip to content

Conversation

Brehana-Naidu
Copy link
Collaborator

I worked on PR #65, which adds a universal model adapter in modelClient.ts. The adapter defines a standard /embed API contract for all models and supports both the Hugging Face Inference API and custom endpoints. It introduces configuration-driven model selection via per-tenant JSON configs, allowing IRIS to be model-agnostic. I also added guards for unsupported model types and standardized request/response shapes (EmbeddingRequest, EmbeddingResponse). This ensures customers can onboard new models without code changes, decouples IRIS from a fixed provider, and reduces integration friction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants