Skip to content

oasislabs/social-ai-game-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Configuring your frontend

For Discord, create a bot and give it the application.commands and bot scopes. It will also need to be able to manage channels, expressions, messages, threads, and be able to read message history.

Running the program

  1. poetry install

  2. Create a .env file and populate it with:

  • OPENAI_API_KEY=<...> - an OpenAI API key
  • ANTHROPIC_API_KEY=<...> - an Anthropic API key
  • DISCORD_TOKEN=<...> - the token of your Discord bot, if using Discord
  1. Create a config file. The one in configs/example.toml is a good starting point.

  2. poetry run python fun_game/main.py --config <path/to/your_config.toml>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages