lunary-ai / lunary

The production toolkit for LLMs. Observability, prompt management and evaluations.

Home Page:https://lunary.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“ˆ lunary

Open-source observability, prompt management & evaluations for LLMs

website - docs - self host

npm version PyPI - Version GitHub last commit (by committer) GitHub commit activity (branch)

Features

Lunary helps LLM developers take their apps to the next level.

  • πŸ’΅ Analytics (cost, token, latency, ..)
  • πŸ” Monitoring (logs, traces, user tracking, ..)
  • ⛩️ Prompt Templates (versioning, team collaboration, ..)
  • 🏷️ Create fine-tuning datasets
  • πŸ–²οΈ Chat & feedback tracking
  • πŸ§ͺ Evaluations

It also designed to be:

  • πŸ€– Usable with any model, not just OpenAI
  • πŸ“¦ Easy to integrate (2 minutes)
  • πŸ§‘β€πŸ’» Self-hostable

1-min Demo

demo720.mp4

βš™οΈ Integration

Modules available for:

Lunary natively supports:

Additionally you can use it with any other LLM by manually sending events.

πŸ“š Documentation

Full documentation is available on the website.

☁️ Hosted version

We offer a hosted version with a free plan of up to 10k requests / month.

With the hosted version:

  • πŸ‘· don't worry about devops or managing updates
  • πŸ™‹ get priority 1:1 support with our team
  • πŸ‡ͺπŸ‡Ί your data is stored safely in Europe

Running locally

  1. Clone the repository
  2. Setup a PostgreSQL instance (version 15 minimum)
  3. Copy the content of packages/backend/.env.example to packages/backend/.env and fill the missing values
  4. Copy the content of packages/frontend/.env.example to packages/backend/.env
  5. Run npm install
  6. Run npm run migrate:db
  7. Run npm run dev

You can now open the dashboard at http://localhost:8080. When using our JS or Python SDK, you need to set the environment variable LUNARY_API_URL to http://localhost:3333. You can use LUNARY_VERBOSE=True to see all the event sent by the SDK

πŸ™‹ Support

Need help or have questions? Chat with us on the website or email us: hello [at] lunary.ai. We're here to help every step of the way.

License

This project is licensed under the Apache 2.0 License.

About

The production toolkit for LLMs. Observability, prompt management and evaluations.

https://lunary.ai

License:Apache License 2.0


Languages

Language:TypeScript 97.9%Language:Python 1.3%Language:CSS 0.4%Language:JavaScript 0.3%Language:Shell 0.1%Language:PLpgSQL 0.0%