I focused on the Agent because it was initially built for that internally. But you are right, for the release I made it extremely general and to be used as a foundation for the complex systems.
194 karma · joined December 21, 2023
I focused on the Agent because it was initially built for that internally. But you are right, for the release I made it extremely general and to be used as a foundation for the complex systems.
As you said, the easiest conditional workflows are tedious and we have to rely on "conditional" edges to solve the simplest stuff. Then, how would you define cycles or spawning of the same task multiple times as a node-edge relation? It becomes extremely inconvenient and just gets in your way. The reason I built Flow is exactly because I previously relied on a predefined node-edge system which I also built (https://docs.lmnr.ai/pipeline/introduction).
Also it impossible to do MapReduce like operations on node-edge without inventing some special node for handling that stuff.
Idea about comparing LangGraph and Flow is really good and I will work on that asap! What kind of workflows would you love to see implemented in Flow? Btw, there're a lot of examples in the readme and in the /tests folder
We really like langfuse, the team and the product.
Compared to it:
* We send and ingest Otel traces with GenAI semconv
* Provide semantic-event based analytics - you actually can understand what's happening with your LLM app, not just stare at the logs all day.
* Laminar is built be high-performance and reliable from day 0, easily ingesting and processing spikes of 500k+ tokens per seconds
* Much more flexible evals, because you execute everything locally and simply store the results on Laminar
* Go beyond simple prompt management and support Prompt Chain / LLM pipeline management. Extremely useful when you want to host something like Mixture of Agents as a scalable and trackable micro-service.
* It's not released yet, but searchable trace / span data
We love it because we tried putting things into the UI, but found it to be much more limiting rather that letting users design evals and run them however they want.
it really makes sense. I guess what I was pointing into, is that when you have really rich text (in your case it would be error descriptions), searching over them semantically is a must have feature.
But you are right, being an output of LLM is not a requirement.
> Could you clarify why would some need to analyze LLMs out of all the things?
When you want to understand trends of the output of your Agent / RAG on scale, without looking manually at each trace, you need to another LLM to process the output. For instance, you want to understand what is the most common topic discussed with your agent. You can prompt another LLM to extract this info, Laminar will host everything, and turn this data into metrics.
> Why do we need to evaluate LLMs?
You right, devs who want to evaluate output of the LLM apps, truly care about the quality or some other metric. For this kind of cases evals are invaluable. Good example would be, AI drive-through agents or AI voice agents for mortgages (use cases we've seen on Laminar)
* Ingestion of Otel traces
* Semantic events-based analytics
* Semantically searchable traces
* High performance, reliability and efficiency out of the box, thanks to our stack
* High quality FE which is fully open-source
* LLM Pipeline manager, first of it's kind, highly customizable and optimized for performance
* Ability to track progression of locally run evals, combining full flexibility of running code locally without need to manage data infra
* Very generous free tier plan. Our infra is so efficient, that we can accommodate large number of free tier users without scaling it too much.
And many more to come in the coming weeks! On of our biggest next priorities is to focus on high quality docs.
All of these features can be used as standalone products, similar to Supabase. So, devs who prefer keep things lightweight might just use our tracing solution and be very happy with it.
Regarding Anthropic instrumentation, we support it out of the box! You don't even need to wrap anything, just do laminar initialize and you should see detailed traces. We also support images! Hit me up at robert@lmnr.ai if you need help onboarding or setting up local version
TLDR: fast Rust backend and monitoring for AI applications.
Building production-grade AI workflows takes months. Laminar accelerate this process by providing a unified platform for building, deploying and monitoring production-grade AI apps.
Features:
* Flexible pipeline builder UI for LLM workflows
* All pipeline workflows are executed on fastest Rust backend and exposed as API endpoints
* Chain-of-thought agent and semantic search infrastructure are first class citizens
* Parallel workflows for different models
* Parallel executions with different inputs
* Log inputs, outputs and metadata for every action node in pipeline graph
* Simple and powerful workflow version control with an ability to deploy to production in one click
Soon:
* evaluations i.e. unit tests for your workflows
* fine-tuning models based on your production log data
* other models beyond LLM: STT/TTS, OCR, vision
If you are interested, read further description and consider upvoting it on Product Hunt -> https://www.producthunt.com/posts/laminar-2