├── .env.example ├── .gitignore ├── .gitmodules ├── .python-version ├── AI_ETHICS.md ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── SECURITY.md ├── docs ├── API_Reference.md ├── Examples.md ├── Getting_Started.md ├── Home.md ├── How_Do_I_Customize_and_Extend_It.md ├── README.md └── api │ ├── config.py.md │ ├── feedback.py.md │ ├── main.py.md │ ├── metrics.py.md │ ├── optimizer.py.md │ ├── session.py.md │ └── utils.md ├── examples ├── README.md ├── data │ ├── sample_prompts.txt │ └── test_data.json ├── notebooks │ ├── 01_basic_usage.ipynb │ ├── 02_prompt_optimization.ipynb │ ├── 03_metrics_evaluation.ipynb │ └── 04_advanced_features.ipynb └── scripts │ ├── basic_example.py │ ├── batch_processing.py │ └── custom_metrics.py ├── how_to_license.md ├── images ├── architecture.pdf ├── architecture.png ├── architecture1.pdf ├── architecture1.png ├── architecture1_hq.png ├── architecture1_quality.png ├── logo.png └── logo1.png ├── install.sh ├── requirements.txt ├── setup.py └── src ├── __init__.py └── promptomatix ├── __init__.py ├── cli ├── __init__.py └── parser.py ├── core ├── __init__.py ├── config.py ├── feedback.py ├── optimizer.py ├── prompts.py └── session.py ├── lm_manager.py ├── logger.py ├── main.py ├── metrics ├── __init__.py └── metrics.py └── utils ├── __init__.py ├── logging.py ├── parsing.py └── paths.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/.gitmodules -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.11.7 2 | -------------------------------------------------------------------------------- /AI_ETHICS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/AI_ETHICS.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/SECURITY.md -------------------------------------------------------------------------------- /docs/API_Reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/API_Reference.md -------------------------------------------------------------------------------- /docs/Examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/Examples.md -------------------------------------------------------------------------------- /docs/Getting_Started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/Getting_Started.md -------------------------------------------------------------------------------- /docs/Home.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/Home.md -------------------------------------------------------------------------------- /docs/How_Do_I_Customize_and_Extend_It.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/How_Do_I_Customize_and_Extend_It.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/api/config.py.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/api/config.py.md -------------------------------------------------------------------------------- /docs/api/feedback.py.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/api/feedback.py.md -------------------------------------------------------------------------------- /docs/api/main.py.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/api/main.py.md -------------------------------------------------------------------------------- /docs/api/metrics.py.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/api/metrics.py.md -------------------------------------------------------------------------------- /docs/api/optimizer.py.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/api/optimizer.py.md -------------------------------------------------------------------------------- /docs/api/session.py.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/api/session.py.md -------------------------------------------------------------------------------- /docs/api/utils.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/docs/api/utils.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/data/sample_prompts.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/data/sample_prompts.txt -------------------------------------------------------------------------------- /examples/data/test_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/data/test_data.json -------------------------------------------------------------------------------- /examples/notebooks/01_basic_usage.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/notebooks/01_basic_usage.ipynb -------------------------------------------------------------------------------- /examples/notebooks/02_prompt_optimization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/notebooks/02_prompt_optimization.ipynb -------------------------------------------------------------------------------- /examples/notebooks/03_metrics_evaluation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/notebooks/03_metrics_evaluation.ipynb -------------------------------------------------------------------------------- /examples/notebooks/04_advanced_features.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/notebooks/04_advanced_features.ipynb -------------------------------------------------------------------------------- /examples/scripts/basic_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/scripts/basic_example.py -------------------------------------------------------------------------------- /examples/scripts/batch_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/scripts/batch_processing.py -------------------------------------------------------------------------------- /examples/scripts/custom_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/examples/scripts/custom_metrics.py -------------------------------------------------------------------------------- /how_to_license.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/how_to_license.md -------------------------------------------------------------------------------- /images/architecture.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/images/architecture.pdf -------------------------------------------------------------------------------- /images/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/images/architecture.png -------------------------------------------------------------------------------- /images/architecture1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/images/architecture1.pdf -------------------------------------------------------------------------------- /images/architecture1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/images/architecture1.png -------------------------------------------------------------------------------- /images/architecture1_hq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/images/architecture1_hq.png -------------------------------------------------------------------------------- /images/architecture1_quality.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/images/architecture1_quality.png -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/images/logo.png -------------------------------------------------------------------------------- /images/logo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/images/logo1.png -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/install.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/setup.py -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/promptomatix/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/__init__.py -------------------------------------------------------------------------------- /src/promptomatix/cli/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Command-line interface components. 3 | """ 4 | -------------------------------------------------------------------------------- /src/promptomatix/cli/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/cli/parser.py -------------------------------------------------------------------------------- /src/promptomatix/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/core/__init__.py -------------------------------------------------------------------------------- /src/promptomatix/core/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/core/config.py -------------------------------------------------------------------------------- /src/promptomatix/core/feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/core/feedback.py -------------------------------------------------------------------------------- /src/promptomatix/core/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/core/optimizer.py -------------------------------------------------------------------------------- /src/promptomatix/core/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/core/prompts.py -------------------------------------------------------------------------------- /src/promptomatix/core/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/core/session.py -------------------------------------------------------------------------------- /src/promptomatix/lm_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/lm_manager.py -------------------------------------------------------------------------------- /src/promptomatix/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/logger.py -------------------------------------------------------------------------------- /src/promptomatix/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/main.py -------------------------------------------------------------------------------- /src/promptomatix/metrics/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Metrics and evaluation components. 3 | """ 4 | -------------------------------------------------------------------------------- /src/promptomatix/metrics/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/metrics/metrics.py -------------------------------------------------------------------------------- /src/promptomatix/utils/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Utility functions and helpers. 3 | """ 4 | -------------------------------------------------------------------------------- /src/promptomatix/utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/utils/logging.py -------------------------------------------------------------------------------- /src/promptomatix/utils/parsing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/utils/parsing.py -------------------------------------------------------------------------------- /src/promptomatix/utils/paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SalesforceAIResearch/promptomatix/HEAD/src/promptomatix/utils/paths.py --------------------------------------------------------------------------------