LangChain
LangChain
  • 154
  • 1 384 360
Building an Agent to Query a SQL Database and Analyze Data
Build a data analyst agent using LangGraph and the new Azure Container Apps dynamic sessions API.
Tutorial code: github.com/langchain-ai/langchain/blob/master/cookbook/azure_container_apps_dynamic_sessions_data_analyst.ipynb
LangChain docs: python.langchain.com/v0.2/docs/integrations/tools/azure_dynamic_sessions/
Azure Container Apps docs: learn.microsoft.com/en-us/azure/container-apps/sessions-code-interpreter
Blog: blog.langchain.dev/integrating-langchain-with-azure-container-apps-dynamic-sessions/
Переглядів: 3 212

Відео

Backtesting | LangSmith Evaluations - Part 19
Переглядів 38514 годин тому
With the rapid pace of AI, developers are often faced with a paradox of choice: how to choose the right prompt, how to trade-off LLM quality vs cost? Evaluations can accelerate development with structured process for making these decisions. But, we've heard that it is challenging to get started. So, we are launching a series of short videos focused on explaining how to perform evaluations using...
Pairwise Evaluation | LangSmith Evaluations - Part 17
Переглядів 99716 годин тому
With the rapid pace of AI, developers are often faced with a paradox of choice: how to choose the right prompt, how to trade-off LLM quality vs cost? Evaluations can accelerate development with structured process for making these decisions. But, we've heard that it is challenging to get started. So, we are launching a series of short videos focused on explaining how to perform evaluations using...
How to evaluate upgrading your app to GPT-4o | LangSmith Evaluations - Part 18
Переглядів 8 тис.19 годин тому
OpenAI recently released GPT-4o, which reports significant improvements in latency and cost. Many users may wonder how to evaluate the effects of upgrading their app to GPT-4o? For example, what latency benefit will users expect to gain and are there any material differences in app performance when I switch to the new GPT-4o model. Decisions like this are often limited by quality evaluations! H...
RAG (evaluate intermediate steps) | LangSmith Evaluations - Part 16
Переглядів 2,7 тис.День тому
Evaluations can accelerate LLM app development, but it can be challenging to get started. We've kicked off a new video series focused on evaluations in LangSmith. With the rapid pace of AI, developers are often faced with a paradox of choice: how to choose the right prompt, how to trade-off LLM quality vs cost? Evaluations can accelerate development with structured process for making these deci...
Build a Customer Support Bot | LangGraph
Переглядів 17 тис.День тому
Build a Customer Support Chatbot | LangGraph In this tutorial, we create a travel assistant chatbot using LangGraph, demonstrating reusable techniques applicable to building any customer support chatbot or AI system that uses tools, supports many user journeys, or requires a high degree of control. #AI #LangGraph #llm We start by building a simple travel assistant and progressively add complexi...
How to Use LangSmith to Achieve a 30% Accuracy Improvement with No Prompt Engineering
Переглядів 5 тис.14 днів тому
In this video we walk through how Dosu uses LangSmith to improve the performance of their application - with NO prompt engineering. Rather, they collected feedback from their users, transformed that into few shot examples, and then fed that back into their application. This is a relatively simple and general technique that can lead to automatic performance improvements. We've written up a LangS...
Regression Testing | LangSmith Evaluations - Part 15
Переглядів 2,7 тис.14 днів тому
Evaluations can accelerate LLM app development, but it can be challenging to get started. We've kicked off a new video series focused on evaluations in LangSmith. With the rapid pace of AI, developers are often faced with a paradox of choice: how to choose the right prompt, how to trade-off LLM quality vs cost? Evaluations can accelerate development with structured process for making these deci...
RAG Evaluation (Document Relevance) | LangSmith Evaluations - Part 14
Переглядів 2,8 тис.14 днів тому
Evaluations can accelerate LLM app development, but it can be challenging to get started. We've kicked off a new video series focused on evaluations in LangSmith. With the rapid pace of AI, developers are often faced with a paradox of choice: how to choose the right prompt, how to trade-off LLM quality vs cost? Evaluations can accelerate development with structured process for making these deci...
Build Computing Olympiad Agents with LangGraph
Переглядів 8 тис.21 день тому
In this tutorial, we create Olympiad programming agents using LangGraph, drawing upon the techniques and benchmark dataset introduced in the paper "Can Language Models Solve Olympiad Programming?" by Quan Shi, Michael Tang, Karthik Narasimhan, and Shunyu Yao. #AI #LangGraph #llm Throughout the tutorial, we learn how to enhance the agent's performance by incorporating three key techniques: 1. Re...
RAG Evaluation (Answer Hallucinations) | LangSmith Evaluations - Part 13
Переглядів 3,2 тис.21 день тому
With the rapid pace of AI, developers are often faced with a paradox of choice: how to choose the right prompt, how to trade-off LLM quality vs cost? Evaluations can accelerate development with structured process for making these decisions. But, we've heard that it is challenging to get started. So, we are launching a series of short videos focused on explaining how to perform evaluations using...
RAG Evaluation (Answer Correctness) | LangSmith Evaluations - Part 12
Переглядів 3,7 тис.21 день тому
With the rapid pace of AI, developers are often faced with a paradox of choice: how to choose the right prompt, how to trade-off LLM quality vs cost? Evaluations can accelerate development with structured process for making these decisions. But, we've heard that it is challenging to get started. So, we are launching a series of short videos focused on explaining how to perform evaluations using...
Flow Engineering with LangChain/LangGraph and CodiumAI
Переглядів 13 тис.28 днів тому
"Flow Engineering" is a term that has been gaining in popularity recently. The first time it was mentioned as term was in CodiumAI paper on AlphaCodium, where they used flow engineering to produce state-of-the-art results on coding problems. Flow Engineering can be used for many problems involving reasoning, and can outperform naive prompt engineering. Instead of using a single prompt to solve ...
Reliable, fully local RAG agents with LLaMA3
Переглядів 73 тис.28 днів тому
With the release of LLaMA3, we're seeing great interest in agents that can run reliably and locally (e.g., on your laptop). Here, we show to how build reliable local agents using LangGraph and LLaMA3-8b from scratch. We combine ideas from 3 advanced RAG papers (Adaptive RAG, Corrective RAG, and Self-RAG) into a single control flow. We run this locally w/ a local vectorstore c/o @nomic_ai & @try...
Summary Evaluators | LangSmith Evaluations - Part 11
Переглядів 1,4 тис.Місяць тому
With the rapid pace of AI, developers are often faced with a paradox of choice: how to choose the right prompt, how to trade-off LLM quality vs cost? Evaluations can accelerate development with structured process for making these decisions. But, we've heard that it is challenging to get started. So, we are launching a series of short videos focused on explaining how to perform evaluations using...
Unit Tests | LangSmith Evaluations - Part 10
Переглядів 1,8 тис.Місяць тому
Unit Tests | LangSmith Evaluations - Part 10
Attach evaluators to datasets | LangSmith Evaluations - Part 9
Переглядів 1,6 тис.Місяць тому
Attach evaluators to datasets | LangSmith Evaluations - Part 9
Video + Audio Extraction with Gemini
Переглядів 4,8 тис.Місяць тому
Video Audio Extraction with Gemini
Tool Calling with LangChain
Переглядів 9 тис.Місяць тому
Tool Calling with LangChain
Evaluations in the prompt playground | LangSmith Evaluations - Part 8
Переглядів 1,6 тис.Місяць тому
Evaluations in the prompt playground | LangSmith Evaluations - Part 8
Eval Comparisons | LangSmith Evaluations - Part 7
Переглядів 1,3 тис.Місяць тому
Eval Comparisons | LangSmith Evaluations - Part 7
Custom Evaluators | LangSmith Evaluations - Part 6
Переглядів 1 тис.Місяць тому
Custom Evaluators | LangSmith Evaluations - Part 6
Pre-Built Evaluators | LangSmith Evaluations - Part 5
Переглядів 1,4 тис.Місяць тому
Pre-Built Evaluators | LangSmith Evaluations - Part 5
Datasets From Traces | LangSmith Evaluations - Part 4
Переглядів 1,2 тис.Місяць тому
Datasets From Traces | LangSmith Evaluations - Part 4
Manually Curated Datasets | LangSmith Evaluations - Part 3
Переглядів 1,6 тис.Місяць тому
Manually Curated Datasets | LangSmith Evaluations - Part 3
Evaluation Primitives | LangSmith Evaluations - Part 2
Переглядів 1,8 тис.Місяць тому
Evaluation Primitives | LangSmith Evaluations - Part 2
Why Evals Matter | LangSmith Evaluations - Part 1
Переглядів 4,7 тис.Місяць тому
Why Evals Matter | LangSmith Evaluations - Part 1
Optimization of LLM Systems with DSPy and LangChain/LangSmith
Переглядів 13 тис.Місяць тому
Optimization of LLM Systems with DSPy and LangChain/LangSmith
Anthropic function calling for structured LLM outputs
Переглядів 11 тис.Місяць тому
Anthropic function calling for structured LLM outputs
Building adaptive RAG from scratch with Command-R
Переглядів 11 тис.Місяць тому
Building adaptive RAG from scratch with Command-R

КОМЕНТАРІ

  • @splitted6767
    @splitted6767 10 годин тому

    Is there any free gpu online that can we use to code with llm?

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w 16 годин тому

    only thing i noticed is that the website doesn't update even after running the code multiple times to reflect the new traces. may be langsmith is still under beta.

  • @ahmedmusawir
    @ahmedmusawir 17 годин тому

    You should choose an even smaller font size that way no one can read anything you're showing isn't that what you're going for here ... $tupid!!

  • @edilsonlima5403
    @edilsonlima5403 День тому

    Obrigado pelo conteúdo ❤

  • @LukeBarousse
    @LukeBarousse День тому

    NGL I've been struggling to wrap my head around coding using LangGraph; Looking forward to testing this and adapting it for bigquery.

  • @lavamonkeymc
    @lavamonkeymc День тому

    This is great. Can you do a video on putting these agents in a backend/fastapi/REST API framework so we can learn how to productionalize agents? Especially with human in the loop, and streaming in REST API. Thank you

  • @wendaoliu4890
    @wendaoliu4890 День тому

    Great video as always! Such cool tool! Appreciate you guys posting these helpful video, this is game changer!

    • @wendaoliu4890
      @wendaoliu4890 День тому

      Just a thought related to LangGraph tho - I am starting to switch my application from langchain to langgraph as I need more control over the chain and conditional edges. One thing I found it is quite difficult when code LangGraph is - each node does have some dependencies from other nodes when you code, meaning like for tool need to grab the tool from latest tool messages so you need to remember and knowing what state and message was passed till this point, it is very difficult to code and even maintain when you have 5+ nodes. I am wondering if there is a better way to design this so each node code logic are independent and all the logic will be coded in the edge or some places.

  • @unhandledexception1948
    @unhandledexception1948 День тому

    This is a mind blowing video...... how much can we can get done these days with just a page of code

  • @unhandledexception1948
    @unhandledexception1948 День тому

    I am at the end of my career in IT ( having started it before the advent of the Internet) and when I watch videos like this one and what you could do with such frameworks I feel like I wish I was born at this time of history because knowledge is shared so freely and the field has advanced so much and the possibilities are so many

  • @ngnapster
    @ngnapster 2 дні тому

    Can you share the link to the iPython book

  • @mehdi9771
    @mehdi9771 2 дні тому

    Keep going ❤❤

  • @pinkmatter8488
    @pinkmatter8488 2 дні тому

    When I run the app in chat mode it shows a pop up saying: "Expected content-type to be text/event-stream, Actual: application/json Check your backend logs for errors." Do you have an idea why that is ?

  • @Anorch-oy9jk
    @Anorch-oy9jk 2 дні тому

    Nice. This is great content. I am gonna run it with phi-3. One Question: Can I use a ReactAgent and provide multiple control flows as tools?

  • @54peace
    @54peace 2 дні тому

    Python? 😩

  • @eduardoconcepcion4899
    @eduardoconcepcion4899 2 дні тому

    How important is the chunk size and what is the best way t set it up?

  • @Nairb932
    @Nairb932 3 дні тому

    Keep up the good work man!

  • @brianpennington4437
    @brianpennington4437 3 дні тому

    I'm getting "KeyError: 'tools'" on "for event in events:". Has anyone else gotten this and solved it? Maybe bug?

  • @eugenmalatov5470
    @eugenmalatov5470 3 дні тому

    This may be a stupid question, but how do I start from scratch, i.e. srape the wikipedia page, create embeding, create an index, upload the embeddings, ... I am missing all this stuff in the explanation ...

  • @kevinkawchak
    @kevinkawchak 3 дні тому

    Thank you for the discussion.

  • @markenki
    @markenki 4 дні тому

    Odd that the original question isn't used. Why not use the original question and generate just four additional questions?

  • @Nairb932
    @Nairb932 4 дні тому

    Keep up the great work

  • @madhudson1
    @madhudson1 4 дні тому

    a great challenge would be to accurately ascertain whether the model is capable of answering the question/topic itself or whether external tooling such as web browsing is required. I haven't been able to do this yet with llama3. I guess I haven't managed to find the correct routing prompt (a stage after the initial routing)

  • @_arkadij
    @_arkadij 4 дні тому

    working fast cool

  • @madhudson1
    @madhudson1 4 дні тому

    absolutely fantastic tutorial. I've been working on some langgraph projects and this helped massively with some of the llama3 prompts. Need to check out the langchain Chroma library to see how to persist the vector store with an instance of chromadb running

  • @MaybeTogether
    @MaybeTogether 4 дні тому

    Thank you. I instinctively started googling, because for me answer accuracy / answer quality is more significant to me

  • @AI_by_AI_007
    @AI_by_AI_007 5 днів тому

    Googles team does AlphaFold and changes the world and Sam gives us NSFW tools….

  • @millingabani
    @millingabani 5 днів тому

    You guys are awesome!

  • @SaudBako
    @SaudBako 5 днів тому

    I forgot how much computer people like watch blocks and blocks of text.

  • @ibbobud
    @ibbobud 5 днів тому

    Quick and to the point! Love the eval!

  • @calvin_banks_music
    @calvin_banks_music 5 днів тому

    Did you make this graphic at 1.48 programmatically or did you import it as image from a different tool?

  • @BenitoMartin-dk7lj
    @BenitoMartin-dk7lj 5 днів тому

    Amazing!

  • @ClarkNewlove
    @ClarkNewlove 5 днів тому

    Nice. Thanks for sharing!

  • @octaviusp
    @octaviusp 5 днів тому

    ahhaa, very fast reaction! great job

  • @learnbydoing6010
    @learnbydoing6010 5 днів тому

    So fast. 🎉thank you.

  • @kevinkawchak
    @kevinkawchak 5 днів тому

    Thank you for the discussion.

  • @thirdreplicator
    @thirdreplicator 5 днів тому

    Hi, I requested access to your notion page.... 🙏

  • @byeebyte
    @byeebyte 5 днів тому

    🎯 Key Takeaways for quick navigation: 00:44 *🚧 Improving the User Experience of Customer Support Chatbots* 00:46 *💼 Enhanced Control over the User Experience* Made with HARPA AI

  • @postcristiano
    @postcristiano 6 днів тому

    Awesome video and easy to understand, really appreciate!

  • @lavamonkeymc
    @lavamonkeymc 6 днів тому

    How will this work in a rest API application ?

  • @advfuk
    @advfuk 6 днів тому

    Thanks Lance for more one great tutorial! Really useful and easy to follow.

  • @ersaaatmeh9273
    @ersaaatmeh9273 6 днів тому

    when I am using llama3 or mistral it doesn't recognize the tools, does anyone try it?

  • @abhisheksrivastava9788
    @abhisheksrivastava9788 6 днів тому

    When I used ollama for predict in evaluator function. It send request for all elements in dataset at same time to ollama. It gave 500 server error. Iwant to use one element atatime in dataset. How

  • @danielmezzina-samuels9676
    @danielmezzina-samuels9676 6 днів тому

    This is so awesome! when you inspect the off the shelf evaluator prompts, is it possible to edit the evaluator prompts and save as a new custom evaluator directly from LangSmith?

  • @sharofazizmatov1000
    @sharofazizmatov1000 7 днів тому

    Hello. First of all thank you for this video. I am trying to follow you but when I run part_1 I am getting an error in checkpoints and I stuck there. Can you help me to understand what is happening File C:\Python311\Lib\site-packages\langgraph\channels\base.py:117, in create_checkpoint(checkpoint, channels) 115 """Create a checkpoint for the given channels.""" 116 ts = datetime.now(timezone.utc).isoformat() --> 117 assert ts > checkpoint["ts"], "Timestamps must be monotonically increasing" 118 values: dict[str, Any] = {} 119 for k, v in channels.items(): AssertionError: Timestamps must be monotonically increasing

    • @ersaaatmeh9273
      @ersaaatmeh9273 6 днів тому

      did you solve it?

    • @sharofazizmatov1000
      @sharofazizmatov1000 6 днів тому

      @@ersaaatmeh9273 No. I couldn't find a solution

    • @willfu-hinthorn
      @willfu-hinthorn День тому

      @@sharofazizmatov1000 I think we fixed this in the most recent relase. Tl;dr, windows timestamping precision was insufficient for our checkpointer.

  • @StoryWorld_Quiz
    @StoryWorld_Quiz 8 днів тому

    do you have any advice on using other llm models?

  • @avisimkin1719
    @avisimkin1719 9 днів тому

    Did anyone try this with a local model? (Llava for example)

  • @chorltondragon
    @chorltondragon 9 днів тому

    Great video. In a project I've just completed I did see some of the benefits of a multi-agent design (simpler than this one). I also saw some of the limitations of LLMs if you attempt to put everything in a single prompt. This video presents a much more structured way of looking at the problem. Thank-you :)

  • @orlandojosekuanbecerra522
    @orlandojosekuanbecerra522 9 днів тому

    Could you add reflection on LangGraph nodes ?

  • @emiliakoleva3775
    @emiliakoleva3775 9 днів тому

    Great tutorial! I would like to see soon some example in a task oriented dialogue

  • @Wiktor-rf3tu
    @Wiktor-rf3tu 9 днів тому

    Great piece of knowledge! I am not a professional python developer (yet) and the syntax with building a chain with " | " broke my brain. You could either explain it a little bit or use more explicit syntax if possible in the future.