Hard Kothari Profile picture
AI & Automation Advocate | Passionate about Smart Home & Workflow Tools | Exploring Automations for Enterprises | Embracing Web Development Challenges

Aug 28, 2023, 10 tweets

Are you using @LangChainAI but it is difficult to Debug?

Not anymore with LangSmith

It makes tracing each LLM call very easy and intiutive.

It's like looking under the hood of system.

After getting beta access, I explored it over last week & below are my 🔑 take aways:

🧵

Clear Input / Output:

It provides clear picture of what goes in and what came out at the highest and the most granular level depending on what you want to see.

You can view individual LLM call input/ouput or as a chain together.

Individual Chain Details:

If you have multiple chains in your definition, it gives you analysis of each of them individually with details regarding input, output, prompt used, and history passed if any.

Analytics:

It gives you time spent and token used per step as well as in total at the top.

This would help us to understand the bottleneck in our chain and help in optimizing the chain performance.

Token count would help in understanding the cost per call.

JSON/YAML:

You can toggle the output/input view to JSON or YAML whichever is comfortable for you to review.

This makes life so easier to review in YAML but then copy/paste in JSON to use in code if needed.

Share:

You can share your trace with anyone using the share button. It will generate a public link accessible to anyone for review.

This makes it very easy to collaborate with others and explain the team working behind the scenes.

Metadata & Feedback:

It also provides you metadata for the whole sequence, individual chain and individual llm call.

Feedback is also available if any associated with any of these element.

Metadata helps to get all the information related to each chain/call or step.

LLM Dashboard:

Overall analytics associated with all the call made using the project in a Dashboard is a bird eye view of how many calls made and how much time and tokens used with it.

This really helps to tap on the cost of the project and reports associated with.

Graphs Dashboard:

This is one of the cool feature added in the dashboard. Graphs.

We all love graphs and it gives bird eye view of everything happening with your project 🙂

If you found this information helpful, follow me
@HardKothari for more such content on AI and Automation.

Show your support by :
- Like 💕
- Retweet 📷
- Sharing your thoughts 📷📷

Thank you!💬

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling