https://github.com/zzstoatzz/marvin-prefect-demo
https://github.com/zzstoatzz/marvin-prefect-demo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zzstoatzz/marvin-prefect-demo
- Owner: zzstoatzz
- Created: 2024-01-10T20:24:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-10T22:16:18.000Z (over 1 year ago)
- Last Synced: 2025-03-25T19:12:31.295Z (3 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `marvin` 🤝 `prefect`
### Following along
- Clone this repo
```bash
git clone https://github.com/zzstoatzz/marvin-prefect-demo.git
```- Create a virtual environment
```bash
python3 -m venv venv
```- Activate the virtual environment
```bash
source venv/bin/activate
```- Install the dependencies
```bash
pip install -r requirements.txt
```
... which will install `marvin` and `prefect` and [some other stuff](https://github.com/PrefectHQ/marvin/blob/main/pyproject.toml#L56).- Set your `OPENAI_API_KEY` in `~/.marvin/.env`
```
cat ~/.marvin/.env | grep OPENAI_API_KEY
OPENAI_API_KEY=sk-...
```