# Feature SD-19 - Allow admins to use multiple inference providers at the same time

Project: Stream Smart Discovery
Status: in development
URL: https://community.openproject.org/work_packages/SD-19

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 18.1.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

| ID | Subject | Status | Decision |
| --- | --- | --- | --- |
| SD-29 | What level of authority do OPENPROJECT_LLM__CONNECTION_.. Vars have | new |  |

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| SD-30 | Point semantic indexes and feature bindings at stored models | Implementation | in development |  | 18.1.0 |  |
| SD-31 | Use several inference providers at the same time | Implementation | new |  | 18.1.0 |  |
| SD-32 |  Choose an inference provider and select a model | Implementation | new |  | 18.1.0 |  |
| SD-55 | Let administrators change a semantic index's model | Implementation | new |  | 18.1.0 |  |

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups | https://www.figma.com/design/8GwgqK4ejWnYJUHEM81as0/Artificial-Intelligence--AI-?node-id=509-6460 |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Dominic Bräunlein |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

## What this does

We want to enable Admins to use multiple inference providers, so they can use models from different providers at the same time.

<img class="image_resized op-uc-image op-uc-image_inline" style="width:572px;" src="/api/v3/attachments/926530/content">

### Use Cases

*   An admin of a smaller installation needs to switch providers because the embedding models they use are deprecated by their current provider
    
*   An admin needs to check if a new model that has just become available through an API is better than the current
    
*   An admin needs to use an embedding model from a trusted provider, but runs their own local LLM inference
    
*   An admin needs to do AB/Testing of providers / embedding models / parameters
    
*   An admin needs to maintain a contingency setup for outages and needs to be able to switch providers quickly
    
*   An admin that has been using an external provider wants to switch to local embedding models without loosing the previously computed indices.
    

### Example

**As** an admin  
**I want to** be able to explore a new inference provider without loosing the current connection  
**so that** I can choose a new model or a different provider while the current connection, model and search index remains intact&nbsp;  
**also** I want to be able to use models from different providers so I can migrate softly

## **Acceptance criteria**

*   Create a new endpoint without loosing the current connection
    
*   Change provider by selecting a model from that provider
    
*   Reference Embedding models by ID instead of name
    
*   CRUD und List for multiple Providers (e.g OpenProject and OpenRouter)
    
*   Health checks for multiple providers
    

## Screenshots:

<img class="image_resized op-uc-image op-uc-image_inline" style="width:621px;" src="/api/v3/attachments/926531/content">

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/926532/content"></div><figcaption class="op-uc-figure--description">A provider is running a health check</figcaption></figure>

<br>

<br>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/926534/content"></div><figcaption class="op-uc-figure--description">The embedding model changes now include the inference provider. An admin can switch to another provider if they provide the same model</figcaption></figure>

<br>

<br>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/926535/content"></div><figcaption class="op-uc-figure--description">Listing the models of a provider</figcaption></figure>

<br>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/926536/content"></div><figcaption class="op-uc-figure--description">. The dropdown allows to switch provider</figcaption></figure>

<br>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/926537/content"></div><figcaption class="op-uc-figure--description">Using a two step mechanism to select provider, then model.</figcaption></figure>

f

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/926538/content"></div><figcaption class="op-uc-figure--description">The dimensions of a semantic index can not be changed after ingestion</figcaption></figure>

<br>
