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: Ability to choose between GPT-3.5 and GPT-4 when creating a persona #334

Open
dpayne-voss opened this issue Feb 21, 2024 · 1 comment

Comments

@dpayne-voss
Copy link

We would like to leverage GPT-4 for certain use cases, but GPT-3.5 for the more general use cases. Right now you have to choose a specific model to be configured in the environment settings.

@fsch-ppi
Copy link

@dpayne-voss
What I did is introduce a slider, in which you can change models on the fly. I extended each ChatTreadModel by a field "model_name" and create a client with different api keys if the model is selected.

I also added a new column for images - in which the default extension of creating images is disabled. In all other modes this is disabled (since my users had trouble with images being generated that were not requested)
image

This does not associate models with persona, but you could do this the same way - by just adding a "model_name" to the PersonaModel

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

No branches or pull requests

2 participants