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

Widen GPT models available #912

Open
chriswilty opened this issue Jun 7, 2024 · 0 comments
Open

Widen GPT models available #912

chriswilty opened this issue Jun 7, 2024 · 0 comments
Labels
backend Requires work on the backend enhancement New feature or request good first issue Simple issue

Comments

@chriswilty
Copy link
Member

Feature Request

Description

We have hard-coded the chat models available, here:
https://github.com/ScottLogic/prompt-injection/blob/dev/backend/src/models/chat.ts#L10

This will need updating whenever OpenAI release a new model, which feels a touch unnecessary. On the other hand, new model GPT-4o does not conform to previous naming strategies, so some intervention could be needed in future anyway.

For now, I suggest a pattern match:

  • GPT-[3-9](\.[0-9])?(o)?(-turbo)?$

Screenshots

Image

Acceptance criteria

GIVEN I am logged in and in Sandbox level
WHEN I open the Model Configuration section in the sidebar
AND open the Select Model dropdown
THEN I see all major GPT models available to me (at time of writing: GPT-3.5-turbo, GPT-4, GPT-4o, GPT-4-turbo)

@chriswilty chriswilty added backend Requires work on the backend enhancement New feature or request good first issue Simple issue labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires work on the backend enhancement New feature or request good first issue Simple issue
Projects
None yet
Development

No branches or pull requests

1 participant