jack482653 / openai-slack-bot

a OpenAI Slack bot
BSD 3-Clause "New" or "Revised" License
44 stars 16 forks source link

Allow model gpt-4-1106-preview and ideally any #20

Closed bittylicious closed 8 months ago

bittylicious commented 8 months ago

It would be great to alter models.js to allow the new GPT-4 turbo model.

What would be even better is if we could just supply the model and API type in the docker/yarn command, if we can't find it, just give it a go with the OpenAI API.

jack482653 commented 8 months ago

Sure, I will remove the restriction of model name for easier use.

jack482653 commented 8 months ago

I have release v1.11.0, which supports gpt-4-1106-preview model. Also you can switch using model via changing OPENAI_CHAT_MODEL at .env file.

Please let me know if it has any problem.

bittylicious commented 8 months ago

Works a treat, thank you very much!