ChatGPT NPCs

If you liked this item, please rate it up on Steam Workshop page.

Authors: salami nipples, Schizophrenic

Last revision: 26 Jan, 2025 at 12:50 UTC

File size: 57.57 KB

On Steam Workshop

Description:
Introducing an addon that empowers you to bring AI NPCs to life, enabling immersive conversations through the dynamic capabilities of ChatGPT and the chat. Im yet to test this in MP so there may be bugs.

How to Access your own FREE API key

For anyone who wants to use this addon for free, there is a way but with a monthly limit, but it’s not to worry as it’s quite high.

Login to https://openai.com website (not chatgpt) and head to this page[platform.openai.com].

There, you will select the API panel.

After that, move your mouse to the far right side to see all the options and go to the key icon that is labelled API Keys.

I recommend you create a new key, and you can call it whatever you like.

Once you have that key, you can implement it to the menu in Garry’s mod, and there you go.

If you are having trouble with this, please feel free to contact for support.
-Schizophrenic

How to Use:
  1. Access the context menu (press and hold C by default).
  2. Navigate to "AI NPCs."
  3. Input the AI personality, NPC model, and API key.
  4. Click "Spawn NPC."
  5. Use /say in chat to talk to it.

Obtaining an API Key:
  1. Create an OpenAI account.
  2. Verify your account.
  3. Log into your account.
  4. Navigate to the API section.
  5. Generate a new API key.
  6. Save your API key.
  7. Top up your account with money if needed.

Later features down the line maybe
  • Multiple NPCS at once.
  • AI Remember previous messages.

Check out the Github [github.com] too if thats your thing
If you get any errors, problems or ideas, feel free to leave a comment or send me a message since this mod probably isnt fully baked yet.