Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Allow user to select model (GPT, o1, o3, etc) per chat #480

Open
orngeatom opened this issue Feb 5, 2025 · 3 comments
Open

Feature: Allow user to select model (GPT, o1, o3, etc) per chat #480

orngeatom opened this issue Feb 5, 2025 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@orngeatom
Copy link

Not an issue but a request to implement an azure chat model selector that can be selected at start of chat

@olafwrieden
Copy link
Collaborator

olafwrieden commented Feb 5, 2025

Nice idea! There are different capabilities in these models so for example some might do audio and image whereas others are purely text-based - some redesign / disabling features based on selected model may need to happen. You could put a model selector on the chat text box which is probably the best place as it's consistent between personas/extensions/chat pages and would require minimal changes to UI.

A challenge I see is deploying a multi-model approach with infra as code. This was the case with DallE which wasn't available in all Azure regions, meaning perhaps we take a GPT4o model as baseline for the IaC deployment, then allow deployments from AI Foundry to be configured via an array similar to how we handle configuration for Identity Providers. If a "custom" model deployment has been provided, the model selector becomes visible allowing the user to select the out of the box 4o or configured custom deployment.

Now we would just have to handle changes to the request body and function calling based on model schema and capabilities - maybe something Semantic Kernel could help with.

Example of Model Selector
Example of model selector

@fsch-ppi
Copy link

fsch-ppi commented Feb 6, 2025

I have a very simple implementation with a model slider that you can change when on a chat. I have extended the ChatThreadModel with the used model, the api call is then done to a respective endpoint depending on this attribute.

Image

@fsch-ppi
Copy link

fsch-ppi commented Feb 6, 2025

Short explanation for the dalle3 slider: Since the chatbot will quite often generate images even when not asked about it.
I have changed the code in a way, so that the ability to create images is only explicitly given to the chatbot, when the dalle3 slider is selected (gpt4o is the underlying model in our case).

As soon as MS unlocks us for the o3 model for an EU deployment we will also integrate that into slider and chat.

@olafwrieden olafwrieden added the enhancement New feature or request label Feb 12, 2025
@olafwrieden olafwrieden changed the title Request - Chat Model selector (GPT,o1,o3, etc) to use across any chat/extension Feature: Allow user to select model (GPT, o1, o3, etc) per chat Feb 12, 2025
@olafwrieden olafwrieden added the help wanted Extra attention is needed label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants