Welcome to PromptScope! In the ever-evolving landscape of artificial intelligence, effective prompt design is crucial for maximizing the performance of language models. PromptScope is a powerful tool designed to streamline this process by providing two essential functionalities: generating demonstrations for in-context learning and optimizing prompts for enhanced efficacy.
PromptScope supports English and Chinese, with OpenAI and Qwen Models for now. Dive in to unlock the full potential of intelligent language generation!
- 2025-01-20: Add TipsOptimizer for Instruction Optimization
- 2024-12-12: PromptScope is released.
PromptScope requires Python 3.9 or higher.
Note: This project is currently in active development, it's recommended to install from source.
We provide:
- Examples for Instruction Optimization:
- Examples for Demonstration Augmentation:
Contributions are always encouraged!
We highly recommend install pre-commit hooks in this repo before committing pull requests. These hooks are small house-keeping scripts executed every time you make a git commit, which will take care of the formatting and linting automatically.
pip install -e .
pre-commit install
This framework is licensed under the Apache License (Version 2.0).
This project utilizes AutoPrompt, OPRO and PromptAgent libraries, which are licensed under the Apache License, Version 2.0.