Skip to content

add model as setting#10

Merged
msvana merged 1 commit intoprofiq:mainfrom
BelCo94:add-model-setting
Jul 31, 2023
Merged

add model as setting#10
msvana merged 1 commit intoprofiq:mainfrom
BelCo94:add-model-setting

Conversation

@BelCo94
Copy link
Copy Markdown
Contributor

@BelCo94 BelCo94 commented Jul 27, 2023

I added "model" to the plugin's settings. The default value remained as gpt-3.5-turbo but now we can change model to the gpt-4 and others.

It looks like this now:
image

@petrvecera petrvecera requested a review from msvana July 28, 2023 07:01
Copy link
Copy Markdown
Member

@petrvecera petrvecera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for the addition! @msvana could you please check it? I think it's OK.

@msvana
Copy link
Copy Markdown
Contributor

msvana commented Jul 31, 2023

Tested, works as expected. Thanks for the contribution @BelCo94

In the future the text field could be replaced with a dropdown menu. OpenAI even has an endpoint for listing available models: https://platform.openai.com/docs/api-reference/models/list

@msvana msvana merged commit 73d5bc2 into profiq:main Jul 31, 2023
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.

3 participants