Skip to content

AyanDas348/pezzo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributor Covenant License



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 maximum productivity and visibility.



Join Pezzo on Discord

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

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.

Roadmap

Below you can find the roadmap with all upcoming features:

Feature Status
Documentation Site ✅ Done
Auth ✅ Done
Official Helm Chart ✅ Done
API Keys Support ✅ Done
Pezzo OpenAI Integration ✅ Done
Pezzo Client for Node.js ✅ Done
Error Handling ✅ Done
Logger ✅ Done
Demo app 🚧 In Progress
Test Coverage 🔜 Coming Soon
Pezzo Client for Python 🔜 Coming Soon
Pezzo Client for Golang 🔜 Coming Soon

If you are missing features, please create an issue and we'll consider adding them to the roadmap.

Getting Started

Clone the repository:

git clone https://github.com/pezzolabs/pezzo.git

🐳 Option 1: Running Pezzo via Docker Compose

This is a straightforward way to run Pezzo and start using it.

Simply run the following command:

docker-compose up

Pezzo should now be accessible at https://localhost:4200 🚀

🕹️ Option 2: Running Pezzo in Development Mode

This method is useful for contirbutors and developers.

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:

npx nx graphql:codegen graphql --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.

Alpha Disclaimer

Pezzo is currently in early development stages. As we strive to provide a reliable and useful platform, you may encounter bugs, performance issues or other limitations. As a result, Pezzo cannot be held responsible for any errors, data loss, or other negative outcomes that may arise from usage during this stage.

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

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 96.4%
  • JavaScript 2.8%
  • Other 0.8%