/pezzo

🕹️ Open-source LLMOps plaform designed to streamline prompt design, version management, instant delivery, collaboration, troubleshooting, observability and more.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Pezzo is the open-source LLMOps platform built for developers and teams. In just two lines of code, you can seamlessly troubleshoot your AI operations, collaborate and manage your prompts in one place, and instantly deploy changes to any environment.

     

Contributor Covenant License

✨ Features

Documentation

Click here to navigate to the Official Pezzo Documentation

In the documentation, you can find information on how to use Pezzo, its architecture, including tutorials and recipes for varius use cases and LLM providers.

Getting Started - Local Development

This section is useful for contributors who want to run Pezzo locally in development mode.

Prerequisites

Install dependencies

Install NPM dependencies by running:

npm install

Spin up development dependencies via Docker Compose

Pezzo is entirely cloud-native and relies solely on open-source technologies such as PostgreSQL, OpenSearch, and Supertokens.

Spin these dependencies up via Docker Compose:

docker-compose -f docker-compose.dev.yaml up

Start Pezzo

Generate the Prisma client:

npx nx prisma:generate server

Deploy Prisma migrations:

npx dotenv-cli -e apps/server/.env -- npx prisma migrate deploy --schema apps/server/prisma/schema.prisma

Run the server:

npx nx serve server

The server is now running. In the background, graphql-codegen has generated GraphQL types based on the actual schema. These can be found at libs/graphql/src/@generated. This provides excellent type safety across the monorepo.

In development mode, you want to run graphql-codegen in watch mode, so whenever you make changes to the schema, types are generated automatically. In a separate Terminal tab, run:

npm run graphql:codegen:watch

Finally, you are ready to run the Pezzo Console:

npx nx serve console

That's it! Pezzo is now accessible at http://localhost:4200 🚀

Contributing

We welcome contributions from the community! Please feel free to submit pull requests or create issues for bugs or feature suggestions.

If you want to contribute but not sure how, join our Discord and we'll be happy to help you out!

Please check out CONTRIBUTING.md before contributing.

License

This repository's source code is available under the Apache 2.0 License.