Skip to content

paradigmadigital/Promptmeteo

Repository files navigation

python-versions code-lint code-testing publish-docker publish-pypi codecov

PromptMeteo 🔥🧔

Promptmeteo is a Python library for prompt engineering built over LangChain. It simplifies the utilization of large language models (LLMs) for various tasks through a low-code interface. To achieve this, Promptmeteo can employ different LLM models and dynamically generate prompts for specific tasks based on just a few configuration parameters.

🤔 What is this library for?

TL;DR: Industrialize projects powered by LLMs easily.

LLMs have the capability to address various tasks when provided with specific instructions in the form of input prompts. They can function as a "reasoning engine" for constructing applications. However, deploying and industrializing these applications poses significant challenges for two main reasons.

Firstly, prompts typically encapsulate application logic in their definition, yet they are treated merely as input arguments. This means that a poorly formulated prompt input has the potential to disrupt the application.

Secondly, crafting concrete prompts for each task is not only a laborious task but also a complex one. Minor alterations in the input prompt can result in different outcomes, rendering them highly error-prone. Additionally, when composing prompts, considerations extend beyond the task itself to include factors such as the specific LLM being used, the model's capacity, and other relevant aspects.

⚡ Use

Find all tutorials, a quick start and much more information in our official documentation.

Contribute

We encourage you:

Any interaction must be under the directives of the Code of conduct, but TL;DR: Be respectful and kind, and remember that anybody makes mistakes.

Develop

Clone the repository and create a new branch based on semantic messages (feat/feature, chore, etc):

git clone git@github.com:paradigmadigital/Promptmeteo.git
cd promptmeteo
git checkout -b branch

Install the development dependencies:

make dev

Pre-commit hooks are installed after setting the project in which the format, lint and tests are passed through the project. Passing all the hooks is the minimum requirements to push to the project.

Documentation

To install documentation dependencies and build the documentation download the repository and:

make docsetup
make html

A lot of new files will be automatically generated, be careful to only add the strictly necessary.