Files
LLM_Engineering_OLD/week1/community-contributions/week1-day1_2-bedtime-storyteller.py
Eli Waltuch 718988286f Community Contribution: Week 1, Days 1 and 2
A python program that generates a bedtie story based on the command line arguments you give it.
Currently supports OpenAI and ollama.

example openai usage:

python ./week1-day1_2-bedtime-storyteller.py openai Linux

Where Linux is the subject you want the story to be about.

example ollama usage:

python ./week1-day1_2-bedtime-storyteller.py ollama --model deepseek-r1:1.5b Bears

Enjoy!

Signed-off-by: Eli Waltuch <eliwaltuch@gmail.com>
2025-03-26 13:28:15 +02:00

2.3 KiB