Skip to content

A text-based RPG powered by Together AI’s LlamaGuard and Hugging Face for AI-driven storytelling and dynamic roleplay. Experience it in action, but with Together AI for inference:

License

Notifications You must be signed in to change notification settings

erricrr/hf-togetherai-rpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPG Text-Based Fantasy Game

A text-based fantasy role-playing game (RPG) powered by Together AI and Hugging Face AI interactions.

Setup and Install

Fork this repository and clone it in your virtual environment. Ensure you're in the repo folder, then install the requirements:

pip install -r requirements.txt

Set Up API Keys

  • Create a .env file in the root directory
  • Add your API keys:
TOGETHER_API_KEY=your_together_api_key
HF_TOKEN=your_huggingface_token

Start Gradio UI

python ./app.py

Credits

This project is based on the Building an AI-Powered Game short course by DeepLearning.AI.

I have modified the original implementation by replacing Together AI with Hugging Face for inference while keeping Together AI for LlamaGuard.

About

A text-based RPG powered by Together AI’s LlamaGuard and Hugging Face for AI-driven storytelling and dynamic roleplay. Experience it in action, but with Together AI for inference:

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages