A text-based fantasy role-playing game (RPG) powered by Together AI and Hugging Face AI interactions.
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
- Create a
.env
file in the root directory - Add your API keys:
TOGETHER_API_KEY=your_together_api_key
HF_TOKEN=your_huggingface_token
python ./app.py
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.