Awesome
<div align="center"> <p align="center"> <img src="https://lunary.ai/logo-blue-bg.svg" alt="Lunary Logo" width="200" height="200"> </p>lunary
Developer toolkit for LLM chatbots
</div>Features
Lunary helps developers of LLM Chatbots develop and improve them.
- ๐ฒ๏ธ Conversation & feedback tracking
- ๐ต Analytics (costs, token, latency, ..)
- ๐ Debugging (logs, traces, user tracking, ..)
- โฉ๏ธ Prompt Directory (versioning, team collaboration, ..)
- ๐ท๏ธ Create fine-tuning datasets
- ๐งช Automatic topic classification
It also designed to be:
- ๐ค Usable with any model, not just OpenAI
- ๐ฆ Easy to integrate (2 minutes)
- ๐งโ๐ป Self-hostable
1-min Demo
https://github.com/lunary-ai/lunary/assets/5092466/a2b4ba9b-4afb-46e3-9b6b-faf7ddb4a931
โ๏ธ Integration
Modules available for:
Lunary natively supports:
- LangChain (JS & Python)
- OpenAI module
- LiteLLM
- Flowise
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
- Clone the repository
- Setup a PostgreSQL instance (version 15 minimum)
- Copy the content of
packages/backend/.env.example
topackages/backend/.env
and fill the missing values - Copy the content of
packages/frontend/.env.example
topackages/frontend/.env
and fill the missing values - Run
npm install
- Run
npm run migrate:db
- 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.