profiq / docgen

IntelliJ plugin to generate Python documentation using OpenAI's GPT model
2 stars 4 forks source link

add model as setting #10

Closed BelCo94 closed 1 year ago

BelCo94 commented 1 year ago

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

msvana commented 1 year ago

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