https://github.com/agentgill/prompt-library
My Prompt Library
https://github.com/agentgill/prompt-library
Last synced: 2 months ago
JSON representation
My Prompt Library
- Host: GitHub
- URL: https://github.com/agentgill/prompt-library
- Owner: agentgill
- Created: 2024-11-27T12:44:35.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-02-18T12:05:17.000Z (3 months ago)
- Last Synced: 2025-02-18T13:22:43.154Z (3 months ago)
- Language: Python
- Size: 527 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Prompt Library
Reusable & customizable set of prompts and resources for prompt engineering.
> "The Prompt is the new fundamental unit of knowledge work" by IndyDevDan
## Level 1 Prompt - Basic Text Input
Basic free-text input "tell me a joke".
## Level 2 Prompt - Structured Intructions
Reusable Prompt that you can use to solve well defined problems where you specify additional information upfront using static variables.
## Level 3 Prompt - Give Examples
Use & provide examples
## Level 4 Prompt - Dynamic Variables
## Getting started
- Install uv `curl -LsSf https://astral.sh/uv/install.sh | sh`
- Install llm `brew install llm`
- Install ollama `https://ollama.com/download`
- List ollama models `ollama models`
- List llm models `llm models`
- See default model `llm models default`## Level 1 - Basic Input
Pinging
- `llm < prompts/prompt_level1_ping.txt`
Counting
- `llm < prompts/prompt_level1_count.txt`
Ping using ollama & llama3.2
- `ollama run llama3.2 < prompts/prompt_level1_count.txt`
## Level 2 - Structured Prompt
Structured prompt
- `ollama run llama3.2 < prompts/prompt_level2_comedian.txt`
## Level 3 - With Examples
Guide the LLM (input and output file)
- `llm < prompts/prompt_level3_summarize.txt > output.md`
## Level 4 - Make scalable
Use dymnamic variables and create scalable prompts on the fly
- Specific purpose
- Specific instructions
- Specific examples
- Dynamic VariablesIt's all just prompts.
## Models
How to install models
- Install AWS Bedrock Anthropic `llm install llm-bedrock-anthropic`
- Install Anthropic Models for direct API access `llm install llm-claude-3`
- Install Groq Models `llm install llm-groq`## Resources
- LLM
- LLM Plugins & Models
- Ollama
- Ollama Docs
- Ollama Models
- Pymupdf
- Pymupdf4llm
- Typer
- UV