{"id":28702272,"url":"https://github.com/modelscope/promptscope","last_synced_at":"2025-06-14T12:32:18.066Z","repository":{"id":267606196,"uuid":"901643155","full_name":"modelscope/PromptScope","owner":"modelscope","description":"Enjoy easier conversations with LLM","archived":false,"fork":false,"pushed_at":"2025-03-11T08:43:11.000Z","size":53682,"stargazers_count":28,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-11T09:36:26.071Z","etag":null,"topics":["gpt-4","in-context-learning","large-language-models","llms","multi-modal","prompt","prompt-engineering"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modelscope.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-11T03:35:38.000Z","updated_at":"2025-03-11T01:44:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"c10d383d-0599-4873-bf75-352d155f9bff","html_url":"https://github.com/modelscope/PromptScope","commit_stats":null,"previous_names":["modelscope/promptscope"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/modelscope/PromptScope","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelscope%2FPromptScope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelscope%2FPromptScope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelscope%2FPromptScope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelscope%2FPromptScope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modelscope","download_url":"https://codeload.github.com/modelscope/PromptScope/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelscope%2FPromptScope/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259816212,"owners_count":22915837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gpt-4","in-context-learning","large-language-models","llms","multi-modal","prompt","prompt-engineering"],"created_at":"2025-06-14T12:31:01.383Z","updated_at":"2025-06-14T12:32:18.058Z","avatar_url":"https://github.com/modelscope.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n    \u003cbr\u003e\n    \u003cimg src=\"resources/teaser.png\"/\u003e\n    \u003cbr\u003e\n\u003cp\u003e\n\u003cp align=\"center\"\u003e\n\n\n## 📝 Introduction\nWelcome 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.\n\n\u003cp align=\"center\"\u003e\n    \u003cbr\u003e\n    \u003cimg src=\"resources/diagram.jpg\"/\u003e\n    \u003cbr\u003e\n\u003cp\u003e\n\u003cp align=\"center\"\u003e\n\nPromptScope supports English and Chinese, with OpenAI and Qwen Models for now. Dive in to unlock the full potential of intelligent language generation!\n\n## 🎉 News\n- 2025-01-20: Add TipsOptimizer for Instruction Optimization\n- 2024-12-12: PromptScope is released.\n\n## 🛠️ Installation:\n\nPromptScope requires Python 3.10 or higher.\n\nNote: This project is currently in active development, it's recommended to install from source.\n\n## 🚀 Getting Started\nWe provide:\n- Examples for Instruction Optimization:\n  - [Example](examples/static_tips_optimization_examples) for Tips Optimization.\n  - [Example](examples/ipc_examples) for IPC.\n  - [Example](examples/opro_examples) for OPRO.\n  - [Example](examples/prompt_agent_examples) for PromptAgent.\n- Examples for Demonstration Augmentation:\n  - [Examples](examples/diversity_augmentation_examples) for diversity example generation.\n  - [Examples](examples/similar_augmentation_examples) for similar example generation.\n  - [Examples](examples/hard_augmentation_examples) for hard example generation.\n\n## 💡 Contribute\nContributions are always encouraged!\n\nWe highly recommend install pre-commit hooks in this repo before committing pull requests.\nThese hooks are small house-keeping scripts executed every time you make a git commit,\nwhich will take care of the formatting and linting automatically.\n```shell\npip install -e .\n```\n\n## 🏛 License\n\nThis framework is licensed under the [Apache License (Version 2.0)](https://github.com/modelscope/modelscope/blob/master/LICENSE). \n\n## 💻 Acknowledgement\nThis project utilizes [AutoPrompt](https://github.com/Eladlev/AutoPrompt), [OPRO](https://github.com/google-deepmind/opro) and [PromptAgent](https://github.com/XinyuanWangCS/PromptAgent) libraries, which are licensed under the Apache License, Version 2.0.\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelscope%2Fpromptscope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodelscope%2Fpromptscope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelscope%2Fpromptscope/lists"}