Skip to content
forked from pezzolabs/pezzo

Pezzo is an open-source AI development toolkit designed to streamline prompt design, version management, publishing, collaboration, troubleshooting, observability and more.

License

Notifications You must be signed in to change notification settings

animalnots/pezzo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Pezzo is an open-source AI development toolkit designed to streamline prompt design, version management, publishing, collaboration, troubleshooting, observability and more. Our mission is to empower individuals and teams to harness the power of AI with confidence.



Join Pezzo on Discord

Click here to sign up for early access to Pezzo Cloud! 🌩️

Contributor Covenant License

Features

🎛️ Centralized Prompt Management: Manage all AI prompts in one place for maximum visibility and efficiency.

🚀 Streamlined Prompt Design, Publishing & Versioning: Create, edit, test and publish prompts with ease.

🔍 Observability: Access detailed prompt execution history, stats and metrics (duration, prompt cost, completion cost, etc.) for better insights.

🛠️ Troubleshooting: Effortlessly resolve issues with your prompts. Time travel to retroactively fine-tune failed prompts and commit the fix instantly.

💰 Cost Transparency: Gain comprehensive cost transparency across all prompts and AI models.

💡 Simplified Integration: Reduce code overhead by 90% by consuming your AI prompts using the Pezzo Client, regardless of the model provider.

Documentation

Click here to navigate to the Official Pezzo Documentation.

In the documentation, you can find information on how to use Pezzo, its architecture, as well as a tutorial for getting up and running with a simple demo app.

Getting Started - 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 relies on Postgres, InfluxDB and Supertokens. You can spin it up using 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.

About

Pezzo is an open-source AI development toolkit designed to streamline prompt design, version management, publishing, collaboration, troubleshooting, observability and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 2.0%
  • Other 0.9%