News for hackers. Stuff that matters.

kakaly0403

Re:RAG Logger: An Open-Source Alternative to LangSmith on Monday December 23, 2024 @04:14PM (#42497673)
Congrats on the launch. Cool to see a RAG specific tracing tool. Excited to try it out. Full disclosure, I am the cofounder and core-maintainer of Langtrace(https://github.com/Scale3-Labs/langtrace) which is also an open source tool for tracing and observing your LLM stack and our SDKs are OTEL based. Based on my experience, I think the biggest challenge right now specifically for RAG pipelines is the lack of flexibility in the current crop of tracing tools to not just visualize the entire retrieval flow across all the components of the stack - the framework calls, vectorDB retrievals, re-ranker i/o if any and the final LLM inference. But, also being able to do experiments by freezing a setup, iterate on it and measuring the performance and improving it to clearly know how the changes map to the performance end to end. This is what we think about mostly while we are building Langtrace as well.
Promptfoo is pretty good

Show HN: A Podcast on how LLMs are applied beyond chatbots in big tech companies

The best way to understand how GenAI adoption will evolve over time is by looking at how mature AI teams at big tech companies are applying it today.A couple of weeks ago, I launched a fully automated podcast, AI Arxiv that focuses exactly on this. I have built an automated pipeline that does the research for this podcast by sifting through various sources such as engineering blogs, research...

( Read More... | no comments | on HN )

Show HN: I Started a Podcast on How Companies Are Applying LLMs

Hey HN,I’ve recently launched a podcast that dives into how companies are leveraging large language models (LLMs) to solve real-world problems in unique and creative ways. Each episode explores case studies, technical blogs and research papers to explain how LLMs are applied.Some of the cool episodes we’ve released so far:- Uber's Use of LLMs for Mobile Testing.- DoorDash Enriching Product...

( Read More... | 4 comments | 3 points | on HN )
Re:Show HN: Opik, an open source LLM evaluation framework on Tuesday September 17, 2024 @02:54PM (#41571281)
There is a GenAI standard spec from OpenTelemetry for tracing LLM based applications. Currently there are 3 library implementations of this spec - Langtrace, OpenLLMetry and OpenLit. Microsoft has an implementation for .NET aswell. OpenInference, though opentelemetry compatible does not adhere to the standard spec.
Re:Show HN: A podcast run by using LLMs on Monday September 16, 2024 @05:09PM (#41560941)
The way it works: - I give it the content as a pdf or a text - it generates the script and records the audio

Created a Podcast Using AI

I am creating a podcast using AI. The episodes focus on how engineering teams in big tech companies are using LLMs to solve novel use cases, as well as latest research from the academia.I have recorded 14 episodes so far, including some exciting ones like:- How Uber engineering uses GenAI for mobile testing.- How OpenAI's latest reasoning models work.- How Box uses Amazon Q to power Box AI.-...

( Read More... | no comments | on HN )
Langtrace core maintainer here. Congrats on the launch! We are building OTEL support for a wide range of LLMs, vectorDBs and frameworks - crewai, DSPy, langchain etc. Would love to see if the langtrace’s tracing library can be integrated with Laminar. Also, feel free to join the OTEL GenAI semantic working committee.
Re:LLM that can call multiple tool APIs with one request on Tuesday June 18, 2024 @11:08AM (#40718670)
Checkout Langtrace. It’s also OTEL and integrates with datadog.

https://github.com/Scale3-Labs/langtrace

Re:Observability for LLM apps with structlog and DuckDB on Thursday June 06, 2024 @01:55PM (#40600385)
1. You do not need 2 databases if you are only looking to export the traces to your grafana stack. If you are using prometheus as the TSDB, you can directly send the traces there without needing any of the databases to be setup locally.

2. Also, you do not need the API key. You only need to install the python or typescript sdk and use the custom exporter option - https://github.com/Scale3-Labs/langtrace-python-sdk?tab=read... . If you already have a OTEL exporter running, you don't need even that. Just initialize the sdk after installing and it will do its thing.

I am one of the core maintainers of the project. Do let me know if you have any questions.

Re:Observability for LLM apps with structlog and DuckDB on Thursday June 06, 2024 @01:39PM (#40600223)
If you are looking for automatic instrumentation that generates open telemetry standard traces - check out Langtrace, https://github.com/Scale3-Labs/langtrace. Got support for all popular LLMs, frameworks and vectorDB with high cardinality.
Cool. Have you considered adopting to the official opentelemetry standards? https://opentelemetry.io/docs/specs/semconv/attributes-regis...
Hey I am building an open telemetry based open source tool for metrics and logs from LLM based apps. Give it a try at langtrace.ai
Re:Pydantic Logfire on Wednesday May 01, 2024 @01:11PM (#40226179)
+1 to this. Langtrace core maintainer here. We are building a SDK and a client for automatic instrumentation of LLM based applications using OTEL standards. The OpenLLMetry team along with the CNCF OpenTelemetry working group has been doing some great work standardizing semantic naming conventions and we are starting to adopt the same set of standards.

[1] https://github.com/Scale3-Labs/langtrace [2] https://github.com/open-telemetry/semantic-conventions/blob/...

Show HN: Langtrace – OpenTelemetry Based LLM App Observability

Hey HN, Ola and Karthik here. We are working on Langtrace(https://github.com/Scale3-Labs/langtrace), an open source, open telemetry based SDK and monitoring/evaluations client for LLM based applications. The SDK generates OTEL standard spans and traces for popular LLMs like OpenAI, Anthropic and Cohere, popular frameworks like Langchain and LlamaIndex and vectorDBs like ChromaDB and...

( Read More... | no comments | 2 points | on HN )
Langtrace core maintainer here. We capture input/output/total tokens for both streaming and non streaming across various LLM providers. For streaming we calculate using tiktoken library as OpenAI does not show that with their outputs. Cost is calculated on the client side as it may keep changing. But all you need is the cost table for the llm vendor and you can get the cost for token usage
Shameless plug. We are building exactly this. Fully open source and open telemetry standard tracing with a visualization client that’s optimized for LLM application observability. Check it out here

- https://github.com/Scale3-Labs/langtrace - https://langtrace.ai/

Show HN: Langtrace – OpenTelemetry-Based LLM App Observability

Hey HN,Ola and Karthik here. We are working on Langtrace(https://github.com/Scale3-Labs/langtrace), an open source, open telemetry based SDK and monitoring/evaluations client for LLM based applications. The SDK generates OTEL standard spans and traces for popular LLMs like OpenAI, Anthropic and Cohere, popular frameworks like Langchain and LlamaIndex and vectorDBs like ChromaDB and Pinecone.The...

( Read More... | no comments | 7 points | on HN )
Hey HN,

Ola and Karthik here. We are working on Langtrace (https://github.com/Scale3-Labs/langtrace), an open source, open telemetry based SDK and monitoring/evaluations client for LLM based applications. The SDK generates OTEL standard spans and traces for popular LLMs like OpenAI, Anthropic and Cohere, popular frameworks like Langchain and LlamaIndex and vectorDBs like ChromaDB and Pinecone.

The LLM monitoring/evaluations space has seen a number of products off late, both open source and closed source ones. However, a couple of things we have observed are: lack of standard spans and traces that creates vendor lock-in, different tools are optimized for solving different pain points - Evaluations, Prompt management, Datasets, etc.

We believe that adopting OpenTelemetry (OTEL) standard tracing not only allows teams to use the SDK without having to switch their observability client, but will also enable developers to develop tooling for any custom needs, such as capturing datasets, prompts, evaluations etc.

A note on what we have built so far:

[1] We have a Python and a TypeScript SDK and we have broken down the support for the LLM layer into 3 groups, LLMs, Frameworks and VectorDBs. Our SDKs are open telemetry compatible, can be installed and used independently and we also provide an option to pass custom exporters to export the traces and spans to any observability tool of your choice.

[2] An observability client that is hyper optimized for solving the unique pain points and challenges that come with LLM based apps like Evaluations, prompt iteration, datasets etc. We are SOC2 compliant and the client can also be self hosted if you have strict data privacy and protection requirements.

[3] Both the SDK and the client are fully open source. We are leaning on the community to try it out and provide us with feedback. A note about OpenTelemetry semantic conventions for LLMs - we would like to converge on standard names for trace attributes that follow the OTEL rules and are looking for feedback from experts here - https://github.com/Scale3-Labs/langtrace/discussions/71

We recognize that this project is early and there is a lot of room for improvement. We would love to hear your thoughts and feedback. Thanks!

Links:

[1] https://langtrace.ai/ [2] https://github.com/Scale3-Labs/langtrace [3] https://docs.langtrace.ai/introduction [4] https://langtrace.ai/blog/why-you-need-opentelemetry-based-o...

Coding Platform with Visualization

I am building a coding platform that lets you visualize how the data structures change form/shape based on the code. Here's a prototype:https://www.youtube.com/watch?v=9SGAnDZqB8UIt's too early to give out the URL for people to try it out as there are plenty of bugs. That's why I was reluctant to post on "show". I would appreciate if you leave a comment/feedback after watching the video.Is this...

( Read More... | no comments | 2 points | on HN )