AI prompts
base on š¹ļø Open-source, developer-first LLMOps platform designed to streamline prompt design, version management, instant delivery, collaboration, troubleshooting, observability and more. <p align="center">
<h1 align="center">
<a href="https://pezzo.ai/#gh-light-mode-only" target="_blank">
<img src="https://cdn.pezzo.ai/logo-light-mode.svg" alt="logo" width="150">
</a>
<a href="https://pezzo.ai/#gh-dark-mode-only" target="_blank">
<img src="https://cdn.pezzo.ai/logo-dark-mode.svg"" alt="logo" width="150">
</a>
</h1>
</p>
<p align="center">
<strong>
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.
</strong><br/><br/>
<a href="https://pezzo.cc/discord" target="_blank">
<img src="https://cdn.pezzo.ai/discord-button.png" height="32" />
</a>
<a href="https://pezzo.cc/3qzMpGb" target="_blank">
<img src="https://cdn.pezzo.ai/read-the-docs-button.png"" height="32" />
</a>
<a href="https://pezzo.cc/3qy415j" target="_blank">
<img src="https://cdn.pezzo.ai/pezzo-cloud-button.png"" height="32" />
</a>
</p>
<p align="center">
<img src="https://github.com/pezzolabs/pezzo/actions/workflows/ci.yaml/badge.svg" />
<a href="CODE_OF_CONDUCT.md">
<img src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg" alt="Contributor Covenant">
</a>
<a href="https://opensource.org/licenses/Apache-2.0">
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License">
</a>
<a href="https://www.npmjs.com/package/@pezzo/client" target="_blank">
<img src="https://img.shields.io/badge/npm-@pezzo/client-green">
</a>
</p>
<p align="center">
<a href="https://pezzo.cc/demo-video-gh" target="_blank">
<img src="https://cdn.pezzo.ai/banner-with-play-button.png" width="900px">
</a>
</p>
<p align="center">
</p>
# āØ Features
<p align="center">
<img width="99%" src="./.github/assets/features/features-1.png"/>
</p>
<p align="center">
<img width="99%" src="./.github/assets/features/features-2.png"/>
</p>
<p align="center">
<img width="99%" src="./.github/assets/features/features-3.png"/>
</p>
# Documentation
[Click here to navigate to the Official Pezzo Documentation](https://docs.pezzo.ai/)
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.
# Supported Clients
<table>
<thead>
<tr>
<th>Feature</th>
<th>
<a href="https://www.npmjs.com/package/@pezzo/client">Node.js</a>
ā¢
<a href="https://docs.pezzo.ai/client/pezzo-client-node">Docs</a>
</th>
<th>
<a href="https://pypi.org/">Python</a>
ā¢
<a href="https://docs.pezzo.ai/client/pezzo-client-python">Docs</a>
</th>
<th>
<a href="https://github.com/pezzolabs/pezzo/issues/180">LangChain</a>
</th>
</tr>
</thead>
<tbody>
<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>
</tbody>
</table>
Looking for a client that's not listed here? [Open an issue](https://github.com/pezzolabs/pezzo/issues/new/choose) and let us know!
# Getting Started - Docker Compose
If you simply want to run the full Pezzo stack locally, check out [Running With Docker Compose](http://docs.pezzo.ai/introduction/docker-compose) in the documentation.
If you want to run Pezzo in development mode, continue reading.
### Prerequisites
- Node.js 18+
- Docker
- (Recommended) [GraphQL Language Feature Support VSCode Extension](https://marketplace.visualstudio.com/items?itemName=GraphQL.vscode-graphql)
### Install dependencies
Install NPM dependencies by running:
```
npm install
```
### Set up the environment files
Pezzo uses a .env file to store environment variables.
When using docker, you should also create a .env.docker file.
See the .env.example file for reference.
### Spin up infrastructure dependencies via Docker Compose
Pezzo is entirely cloud-native and relies solely on open-source technologies such as [PostgreSQL](https://www.postgresql.org/), [ClickHouse](https://github.com/ClickHouse/ClickHouse), [Redis](https://github.com/redis/redis) and [Supertokens](https://supertokens.com/).
You can run these dependencies via Docker Compose:
```
docker-compose -f docker-compose.infra.yaml up
```
### Start Pezzo
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. 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_:
```
npm run graphql:codegen:watch
```
This will connect [codegen](https://the-guild.dev/graphql/codegen/docs/getting-started) 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:
```
npx nx serve console
```
That's it! The Pezzo Console 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](https://pezzo.cc/discord) and we'll be happy to help you out!
Please check out [CONTRIBUTING.md](CONTRIBUTING.md) before contributing.
# License
This repository's source code is available under the [Apache 2.0 License](LICENSE).
", Assign "at most 3 tags" to the expected json: {"id":"1101","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"