Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 2.38 KB

README.md

File metadata and controls

68 lines (45 loc) · 2.38 KB



📝 Introduction

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!

🎉 News

  • 2025-01-20: Add TipsOptimizer for Instruction Optimization
  • 2024-12-12: PromptScope is released.

🛠️ Installation:

PromptScope requires Python 3.9 or higher.

Note: This project is currently in active development, it's recommended to install from source.

🚀 Getting Started

We provide:

  • Examples for Instruction Optimization:
  • Examples for Demonstration Augmentation:
    • Examples for diversity example generation.
    • Examples for similar example generation.
    • Examples for hard example generation.

💡 Contribute

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

🏛 License

This framework is licensed under the Apache License (Version 2.0).

💻 Acknowledgement

This project utilizes AutoPrompt, OPRO and PromptAgent libraries, which are licensed under the Apache License, Version 2.0.