Type something to search...
Pezzo

Pezzo

Pezzo

1.8k 168
03 May, 2024
  TypeScript

What is Pezzo ?

Pezzo is a fully cloud-native and open-source LLMOps platform. Seamlessly observe and monitor your AI operations, troubleshoot issues, save up to 90% on costs and latency, collaborate and manage your prompts in one place, and instantly deliver AI changes.

Pezzo Features

features-1

features-2

features-3


Supported Clients

<tr>
<td>Prompt Management</td>
<td align="center">βœ…</td>
<td align="center">βœ…</td>
<td align="center">🚧</td>
</tr>
<tr>
<td>Observability</td>
<td align="center">βœ…</td>
<td align="center">βœ…</td>
<td align="center">🚧</td>
</tr>
<tr>
<td>Caching</td>
<td align="center">βœ…</td>
<td align="center">βœ…</td>
<td align="center">🚧</td>
</tr>
Feature Node.js β€’ Docs Python β€’ Docs LangChain

Looking for a client that’s not listed here? Open an issue and let us know!


Getting Started - Docker Compose

If you simplay want to run the full Pezzo stack locally, check out Running With Docker Compose in the documentation.

If you want to run Pezzo in development mode, continue reading.

Prerequisites

Install dependencies

Install NPM dependencies by running:

Terminal window
npm install

Spin up infrastructure dependencies via Docker Compose

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

You can run these dependencies via Docker Compose:

Terminal window
docker-compose -f docker-compose.infra.yaml up

Start Pezzo

Deploy Prisma migrations:

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

Run the server:

Terminal window
npx nx serve server

The server is now running. You can verify that by navigating to http://localhost:3000/api/healthz.

In development mode, you want to run codegen in watch mode, so whenever you make changes to the schema, types are generated automatically. After running the server, run the following in a separate terminal Window:

Terminal window
npm run graphql:codegen:watch

This will connect codegen directly to the server and keep your GraphQL schema up-to-date as you make changes.

Finally, you are ready to run the Pezzo Console:

Terminal window
npx nx serve console

That’s it! The Pezzo Console is now accessible at http://localhost:4200 πŸš€