This document provides an overview of the development process for PromptMage. It includes information on the project structure, the development environment, and the development workflow.
To install the development environment, follow these steps:
-
Clone the repository:
git clone
-
Install the dependencies:
PromptMage uses Poetry to manage dependencies. To install the dependencies, run the following command:
```bash
poetry install
```
To run PromptMage examples in development mode install the examples dependencies:
cd examples
poetry installThen run the examples:
poetry run promptmage run summarize_article_by_facts.pyTo run the tests, run the following command:
poetry run pytest .PromptMage uses Black to format the code. To format the code, run the following command:
poetry run black .