AndraxDev / speak-gpt

Your personal voice assistant based on OpenAI ChatGPT.
https://play.google.com/store/apps/details?id=org.teslasoft.assistant
Apache License 2.0
281 stars 59 forks source link

Keep the list of models updated using the API #80

Closed thiswillbeyourgithub closed 6 months ago

thiswillbeyourgithub commented 6 months ago

Hi,

Currently using SpeakGPT, every time a new GPT model gets added by openai (for example gpt-4-turbo-2024-04-09 recently) it will not appear in the model list in the app. Which I understand because as you said here you don't want to display the full name of the models.

But the result is that any model that you have not pre registered will be counted as a fine tuned model in the chat list.

What I suggest is that when the user opens the model selection window it should query openai for the list of models. Any model that is a user fine tuned has the key "owned_by" assigned a value starting with "user-" whereas the official models contain "openai" or "system". So 1 instead of letting the user to type the full name of the fine tuned model you could display it as a button and 2 you could display any new models that you have not preregistered as a button.

AndraxDev commented 6 months ago

I don't want to confuse users with redundant models. For example dated models are not needed. I can still add buttons for user fine-tuned models.

AndraxDev commented 6 months ago

Added in SpeakGPT 3.15. Custom model field is still here as some users are using other API hosts.