[go: up one dir, main page]

Skip to content

API for a virtual streamer chatbot that reads Twitch chats and responds using OpenAI/ChatGPT

License

Notifications You must be signed in to change notification settings

gspentzas1991/Presence-API

Repository files navigation

Presence API

A Web API project that can be used to receive Twitch chats, and respond to them using TTS. It uses the OpenAI API to create the responses, and saves the last 10 pieces of conversation to memory, in order for the chat to make sense. For the TTS it uses Microsoft's cognitive service (speech)

Requirements

Requires to also pull the ChatGPT-API project

Usage

In order to register your OpenAI API Key, you need to create a User Secret file with your API key

{
  "OpenAI": {
    "ApiKey": "YourApiKey"
  },
  "Twitch": {
    "Username": "YourTwitchChannelUsername",
    "OAuthKey": "YourTwitchChannelOAuthKey"
  },
  "AzureTTS": {
    "AzureTTSSubscriptionKey": "YourAzureTTSSubscriptionKey",
    "AzureTTSSRegion": "YourAzureTTSRegion"
  }
}

About

API for a virtual streamer chatbot that reads Twitch chats and responds using OpenAI/ChatGPT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages