Prompt Generator
A Python package for generating structured prompts from markdown templates.
Installation
pip install prompt-generator
Usage
from prompt_generator import PromptGenerator
# Initialize the generator
generator = PromptGenerator()
# Generate a prompt from a markdown template
prompt = await generator.generate_prompt("templates/background.md", "prompts")
Features
- Generate structured prompts from markdown templates
- Support for examples and context in templates
- AWS Bedrock integration for AI-powered prompt generation
- Async/await support for efficient processing
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for question-generator 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| question-generator-0.1.11.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| question_generator-0.1.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / question-generator-0.1.11.tar.gz
| Download URL | question-generator-0.1.11.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8563d6c373dd6cffd064b988ceb4a2ccaf57780385b659c194befc9f2418a7b6
|
|
BLAKE2b-256 checksum How to use checksums |
0ffac760090b2bcf47ef419912ef3e0968eecd48b158b7142e66e89a22d7e0ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.7
|
Release files / question_generator-0.1.11-py3-none-any.whl
| Download URL | question_generator-0.1.11-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93fe601316df947aeb6f20b62e39765affe0aa064d8ccb656ceee37525dea29e
|
|
BLAKE2b-256 checksum How to use checksums |
f529078d7640c73be2f125e00c342aa2bb52139013339877fd1f0e5ab6cedc04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.7
|