https://github.com/robjsliwa/adventures_in_dspy
Learn DSPy framework by coding text adventure game
https://github.com/robjsliwa/adventures_in_dspy
dspy-ai metrics ollama optimizers prompt-engineering signatures text-adventure-game
Last synced: 2 months ago
JSON representation
Learn DSPy framework by coding text adventure game
- Host: GitHub
- URL: https://github.com/robjsliwa/adventures_in_dspy
- Owner: robjsliwa
- License: mit
- Created: 2024-06-10T12:41:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T22:29:20.000Z (about 2 years ago)
- Last Synced: 2025-01-23T08:44:07.704Z (over 1 year ago)
- Topics: dspy-ai, metrics, ollama, optimizers, prompt-engineering, signatures, text-adventure-game
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Adventures in DSPy
Adventures in DSPy is companion code for my blog on learning DSPy framework through building text adventure games.
## Installation
```bash
pip install -r requirements.txt
```
## Training Models
```bash
python game_model_trainer.py
```
## Running the Game
```bash
python game.py
```