Issue Description:
ChatGPT tool calls are not reported when using litellm. The error involves ChatCompletionMessageToolCall
objects not being JSON serializable during event tracking in the Lunary and litellm libraries.
We're experimenting with a new support assistant to assist with common requests and help our small team regain focus.
Because of a CVEC, I've removed single_use_token from payloads. It's needed for the invite link. It's now only returned if the current user is an admin or owner
Starting with French, Spanish, Japanese & Chinese
Before:
After:
Before:
After:
March 2024 Update
This month, our focus was on enhancing existing features, particularly evaluations and enterprise-specific functionalities.
Improvements in Prompt Menu
- Enhanced search and sorting capabilities.
Model Additions in Playground
- Introduced Mistral Large, Medium, and all Claude models.
Enhancements in Radars
- Fix issues with Radars not running properly ML models.
- Improved PII and Profanity detection across all languages.
Metadata Tracking
- You can now set and filter by the
metadata
field within the dashboard for better data tracking.
Filters Enhancements
- Reintroduced the feedback filter.
- Significantly improved the Users filter, including a new search feature for managing large user bases.
Private API Keys Update
- Temporarily disabled last month for security reasons, Private API keys are now re-enabled. Access them in your Settings page. Documentation improvements are forthcoming.
Evaluations Enhancements
- Enhanced results table for clearer relationships between results.
- Transitioned from models to "Providers" to allow experimentation with parameters like temperature.
- Implemented a queue system for enhanced performance and to address Anthropic rate limiting.
- Added support for running evaluations on large datasets with multiple models.
- Introduced live progress feedback for lengthy evaluations.
- Improved error handling for failed evaluations.
New for Enterprises
- Deployment made simpler with new Helm Charts for Kubernetes and monolithic Docker images.
- Updated our Role Based Access Control system to allow more granular permission settings.
Fixes
- JS SDK: Resolved issues with OpenAI streaming types.
- Addressed cascading feedback issues from thread messages.
- Fixed display issues with parameters such as
maxTokens
.
Show feedback from parent thread messages into LLM logs datable.
Params = Things not set by the user, typically model settings (temperature, top_p, etc). Metadata = custom data set by the user excluding things like "name", "userId", "userProps", "tags" that may be passed via "metadata" field to langchain.
By rendering password field instead and hiding it, so it still autofills
February 2024 Update
After the busy last months that resulted in almost an overall make-over of the platform, in February, we've focused on stability improvements across the board. We've also made a number of improvements to the dashboard UI, the evaluations, and the templates.
Improved UI for Traces
We've improved the UI of the traces to be more readable and work better with smaller screens.
Evaluation SDK in general availability
All Unlimited and Enterprise users now have access to the Evaluation SDK.
Create CI pipelines for your agents, benchmark your RAG pipelines, and more. The SDK is now generally available and ready for production use.
Here is an example of how to use the SDK:
Text-only datasets
You can now use text-only datasets (instead of chat-messages datasets only before). This makes it easier to create test cases for your custom agents.
get_langchain_template methods
For those that work with LangChain, we've added new methods to the SDK that can pull your templates directly as LangChain's ChatPromptTemplate and PromptTemplate classes.
This makes it much easier to work with chains and LangChain in general.
Example:
Make sure to update your SDK to the latest version to use these new methods.
Claude 3 in the playground
Come test your prompts with the new state-of-the-art model. We've found it's better and more concise than GPT-4 in many cases.
Mistral and Claude 3 prices
We've added tracking of Mistral and Claude 3 prices in the dashboard.
Self-hosting
We've removed the dependency on PgGroonga to make it easier to self-host the platform with hosted Postgres services like AWS RDS.
This means Lunary is now also compatible with Postgres 16.
3 projects for free users
We've increased the number of projects that free users can have from 1 to 3. This should help you better organize your work and keep your projects separate.
Parsing of LangChain chains
In the Python SDK, we've pushed numerous improvements to the parsing of LangChain traces. The constant updates to the LangChain format have made it difficult to keep up with the changes, but we're made significant progress in this area.
Fixes
We've fixed a number of issues across the platform where:
- Evaluations would not start correctly from the dashboard
- Editing datasets would stutter and not work correctly
- Deleting a template would not work correctly
- Switching between text and chat templates would break the playground
- Invalid tools would prevent the playground from running
- In JS SDK
await lunary.flush
not working - JS SDK crashing in old Node environments because of
crypto
module
January 2024 Update
January has been our most productive month to date.
We've successfully migrated our entire platform to a new, more efficient architecture. Our new Radars and Evaluations features are now publicly available to all users on Unlimited or self-hosted plans, and we've pushed a lot of usage improvements to the app.
Platform Overhaul
We've revamped our entire source code and eliminated the need for Vercel and Supabase, leading to several improvements:
- Enhanced scalability of the app
- Access to all dashboard data via the API
- 10x increase in our speed of rolling out new features
- Less security concerns and error-surface associated with 3rd-party dependencies
- Simplified self-hosting setup
- Quicker dashboard performance
This is what it looks like in our GitHub graph:
Radars
Radars have moved out of private access.
Radars are AI-powered alerts that monitor your runs for specific conditions, such as personal data, profanity, or negative sentiment.
Internally, we've deployed efficient, lightweight AI models that scan runs without relying on external API queries, perfect for self-hosted setups.
Evaluations
We've reimagined LLM evaluations from scratch, opting for no-code approach.
You can design and execute evaluations directly from the dashboard without needing to be a Python expert or have prior evaluation experience.
This is made possible through intuitive blocks that assess various aspects like:
- How closely your model's outputs match an ideal output
- The presence of hallucination in responses
- Usage of costs and tokens
You can create evaluations with 20+ models, including open-source options like Mistral, directly from the dashboard.
Some evaluation scenarios still require code---say for testing your custom agents or integrating into a CI pipeline---we will soon release the Evaluation SDK. This allows for the execution of dashboard-created evals your codebase, enabling contributions from both technical and non-technical team members.
We're continuously refining these features and are open to providing private access to the Evaluations SDK to those interested.
App Enhancements
We've pushed a lot of improvements to the app, such as:
- Merged "LLM Calls", "Chats" and "Traces" into a single "Logs" page, improving filters and search functionality across all data types.
- New filtering engine with a lot of additional filters (with more on the way).
- Add tool calls to templates and preview them in your runs.
- Button to duplicate templates
- Improved filter and dashboard speed.
- Simpler navigation around the app
Alongside these updates, we've made numerous fixes and are focused on extending these advancements to more affordable plans as we further optimize and reduce costs.
We're eagerly await your feedback :)
Also, if anyone in San Francisco wants to meet up with the founders, we're here for the month. Hit us up!
December 2023 Update
📙 Prompt Templates in Alpha
Our new Prompt Templates feature is ready in alpha today.
Collaborate with non-technical team members, version prompts and decouple prompts from your source-code.
It's available today to all users, regardless of your plan and the docs can be found here.
JS integration is ready and we'll release the Python integration later this week.
Any feedback on this is greatly appreciated - we will iterate on this in the coming weeks with your feedback.
🐍 Chat tracking in Python
We heard you and simplified a lot the API to track messages.
You can also now track users' conversations directly from your Python or JS backend, with a much simpler API.
Check out the new Chat tracking docs here.
📷 Support for OpenAI vision
We now support OpenAI's vision models and you can see the pictures used in your dashboard.
🤖 More models in Playground
Find Gemini Pro
and Mixtral
in the prompt playground.
🚄 Faster dashboard
We've turbocharged our dashboard and Postgres database for quicker data rendering. Search, filters and navigation should be much quicker.
It's still a work in progress, but you should already feel the difference with heavy data loads.
There is also a lot more in terms of bug fixed and UI improvements to the dashboard.
Enjoy the holidays!
LLMonitor is now Lunary.ai
Big news from our corner! We're shifting gears and our startup's name is changing from LLMonitor to Lunary.ai.
First off - saying 'LLMonitor' wasn't the smoothest. We heard you trying to pronounce it (and saw some of those puzzled looks). So, we're making it easier. Lunary rolls off the tongue way better, doesn't it?
Also, a bit of a hiccup with Google. Our early SEO experiments, let's just say, were a tad too experimental and abrupt. Google wasn't thrilled, and we got a penalty on our main llmonitor.com domain making us impossible to be found on Google. Lesson learned.
But hey, every cloud has a silver lining. This change isn't just about a new name. It's a fresh start, a clearer identity. Lunary.ai reflects our work better - to build the best AI developer platform.
Stay tuned for what's next. We're just getting started.