Barotrauma

Barotrauma

AI NPCs
RubbingMyAxe  [developer] 12 Dec, 2023 @ 9:45pm
Third Update
Kind of a minor update, but it was a heavily requested change. You can now change the API endpoint via the chat commands, which allows you to use AIs other than ChatGPT. OpenRouter.ai has a list of free models here: https://openrouter.ai/docs#models

So if you just installed the mod, to change to the (currently free) mythomist 7b model you would use these commands in the chat box once the campaign started:

!setconfig APIKey <YOUR KEY HERE>
!setconfig APIEndpoint https://openrouter.ai/api/v1/chat/completions
!setconfig Model gryphe/mythomist-7b

Note that the API key depends on the endpoint. If you're using OpenAI's endpoint (the default), you need an OpenAI API key. If you're using OpenRouter's endpoint, you need an OpenRouter API key.

Also note that the list of free ones may change over time. If you change to using a free one, it's your responsibility to keep track of that. The mod is going to continue to default to ChatGPT just because that is more stable and has provided the best results so far.