LangSmith Highlights: Getting Started
Key Takeaways
Provides a beginner's guide to getting started with LangSmith, including sign-up, organization creation, and sending traces to LangSmith
Full Transcript
in this video we're going to show you how you can easily send your linkchain API traces to link Smith or SAS platform so you can use those traces to debug to test and evaluate them to also monitor any production application and in this video we'll specifically tailor it to linkchain code but it's also possible to send your traces if you're building another llm powered application outside of the linkchain framework and we'll show that in a separate video but if you are using linkchain it's really simple to get up and running you can do it in a matter of seconds all you have to do is set a few environment variables the first is link chain tracing to true you want to give your application a project name in this case I'm calling it planetary walkthrough demo if you don't give it a name it will just set to default and all of the runs for this application will get collected and aggregated together in this planetary walkthrough demo project which I'll show in a second you want to give a destination in this case we're sending all of our traces to our Cloud hosted platform at api. smith. link chain.com and then finally you want to give it your linkchain API key this is really the API key that you create in your link Smith account and it's tied to your tenant uh and I'll be sure to delete this API key after the demo to make sure that there's not any Miss use of of my token but that's all you have to do to get up and running and I'll walk through this code pretty quickly but just a reminder the way it works is Lang Smith is not hosting my application in this scenario the code is actually running on my computer but it's collecting all of my traces because when we install the link Smith SDK there's a callback function to that API destination that I've Set uh up top along with my authentication which is my API key and then all of my traces will get sent to L Smith which is hosted in the cloud we have options if you want to self-host link Smith as well but the code is actually going to run on my computer and the traces are getting stored in link Smith think about it as an aggregator of traces just like an observability tool so if I take a quick look at this code we're not going to go too deep into it but uh I'm running an agent uh using bling chain expression language it has access to a couple of tools a Search tool and an llm math tool calculator tool it's going to use open AI functions as the underlying LM uh we've given it a prompt that we've pulled in from our Hub in link Smith uh this this prompt is is a pretty simple one it just says that you are a smart AI uh assistant which I can show in a separate video um how to define prompts and how to pull it into your code so just take a mental note of that uh and then it's going going to use a scratch pad to keep track of its thoughts as well as a chat history uh and then we're going to run this agent against these questions these put that I've seated it and we're going to see what that looks like in lsmith so we'll run it now and then if I go to lsmith this is uh in my projects this is the planetary walkthrough demo and we can now see that there are a number of runs uh happening right now they're in action which is this uh purple running symbol and a few have already completed these are running in parallel so you don't have to serly have the agent answer these questions and we're going to show exactly what are the outputs of these traces in a in the next video
Original Description
See how to:
-Sign up for LangSmith
-Create an org and invite your colleagues
-Send traces to LangSmith
01:50 How LangSmith uses your data
01:59 Testing something else
Log in or sign up for LangSmith (BETA): https://smith.langchain.com/
LangSmith Docs: https://python.langchain.com/docs/guides/langsmith/walkthrough
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from LangChain · LangChain · 26 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
▶
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Chat With Your Documents Using LangChain + JavaScript
LangChain
LangChain SQL Webinar
LangChain
LangChain "OpenAI functions" Webinar
LangChain
LangSmith Launch
LangChain
LangChain x Pinecone: Supercharging Llama-2 with RAG
LangChain
LangChain Expression Language
LangChain
Building LLM applications with LangChain with Lance
LangChain
Benchmarking Question/Answering Over CSV Data
LangChain
LangChain "RAG Evaluation" Webinar
LangChain
Fine-tuning in Your Voice Webinar
LangChain
Tabular Data Retrieval
LangChain
Building an LLM Application with Audio by AssemblyAI
LangChain
Superagent Deepdive Webinar
LangChain
Lessons from Deploying LLMs with LangSmith
LangChain
Shortwave Assistant Deepdive Webinar
LangChain
Cognitive Architectures for Language Agents
LangChain
Effectively Building with LLMs in the Browser with Jacob
LangChain
Data Privacy for LLMs
LangChain
"Theory of Mind" Webinar with Plastic Labs
LangChain
LangChain Templates
LangChain
Using Natural Language to Query Postgres with Jacob
LangChain
Building a Research Assistant from Scratch
LangChain
Benchmarking RAG over LangChain Docs
LangChain
Skeleton-of-Thought: Building a New Template from Scratch
LangChain
Benchmarking Methods for Semi-Structured RAG
LangChain
LangSmith Highlights: Getting Started
LangChain
LangSmith Highlights: Debugging
LangChain
LangSmith Highlights: Datasets
LangChain
LangSmith Highlights: Evaluation
LangChain
LangSmith Highlights: Human Annotation
LangChain
LangSmith Highlights: Monitoring
LangChain
LangSmith Highlights: Hub
LangChain
SQL Research Assistant
LangChain
Getting Started with Multi-Modal LLMs
LangChain
Build a Full Stack RAG App With TypeScript
LangChain
Auto-Prompt Builder (with Hosted LangServe)
LangChain
LangChain v0.1.0 Launch: Introduction
LangChain
LangChain v0.1.0 Launch: Observability
LangChain
LangChain v0.1.0 Launch: Integrations
LangChain
LangChain v0.1.0 Launch: Composability
LangChain
LangChain v0.1.0 Launch: Streaming
LangChain
LangChain v0.1.0 Launch: Output Parsing
LangChain
LangChain v0.1.0 Launch: Retrieval
LangChain
LangChain v0.1.0 Launch: Agents
LangChain
Build and Deploy a RAG app with Pinecone Serverless
LangChain
Hosted LangServe + LangChain Templates
LangChain
LangGraph: Intro
LangChain
LangGraph: Agent Executor
LangChain
LangGraph: Chat Agent Executor
LangChain
LangGraph: Human-in-the-Loop
LangChain
LangGraph: Dynamically Returning a Tool Output Directly
LangChain
LangGraph: Respond in a Specific Format
LangChain
LangGraph: Managing Agent Steps
LangChain
LangGraph: Force-Calling a Tool
LangChain
LangGraph: Multi-Agent Workflows
LangChain
Streaming Events: Introducing a new `stream_events` method
LangChain
Building a web RAG chatbot: using LangChain, Exa (prev. Metaphor), LangSmith, and Hosted Langserve
LangChain
OpenGPTs
LangChain
Open Source RAG with Nomic's New Embedding Model (and ChromaDB and Ollama)
LangChain
LangGraph: Persistence
LangChain
More on: Agent Foundations
View skill →Related Reads
📰
📰
📰
📰
My AI agent audited 25 projects by reading four linaies of each README. Every kill verdict was wrong.
Dev.to AI
Stop AI Agent Drift Across Sessions With Versioned, Grep-able Rules
Dev.to AI
Article: Comprehension at AI Speed: Building a Context Store for Evolutionary Architecture
InfoQ AI/ML
Claude Code faked its own work, then wrote me an unprompted confession
Dev.to AI
🎓
Tutor Explanation
DeepCamp AI