Exploration of declarative prompt training for Llama 3
brew install pipx
pipx install poetry
poetry run python dspy_ollama_example
- Stands for Demonstrate, search, predict (Python)
Why chains?
- Overcomes input length and context limitations
- Chains overcome overly complex tasks