How to add persistent memory using PostgreSQL to LangGraph ReAct agent🤖: Python - LangChain #3

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

ความคิดเห็น • 9

  • @rokbenko
    @rokbenko  9 วันที่ผ่านมา

    Hey everyone! 👋 Did you know that 97.5% of my viewers aren’t subscribed? If you found this tutorial helpful, consider subscribing to the channel. It’s free and doesn’t hurt anyone, but it means a lot to me. Plus, it’s a great way to stay updated with the latest coding tips and tricks. Thanks for your support! 🙏

  • @EshaalakshmiDS-x5q
    @EshaalakshmiDS-x5q 2 วันที่ผ่านมา +1

    Thank you soo much for the video!! It gives us reference on how to instill Long Term memory to LangGraph Applications. Truly useful!!

  • @aifarmerokay
    @aifarmerokay วันที่ผ่านมา

    ❤ I was checking exactly same

  • @RomanH91
    @RomanH91 3 วันที่ผ่านมา

    This is what I was looking for! The PostgreSQL persistent memory to the LangGraph.
    I needed it in TypeScript, but at least it's available in Python.
    Don't have so much information about it on the Web.
    Thank you!

    • @rokbenko
      @rokbenko  3 วันที่ผ่านมา

      @RomanH91 I wanted to show a JS example too, but it looks like LangChain hasn't implemented it in the JS SDK yet.

    • @RomanH91
      @RomanH91 3 วันที่ผ่านมา

      @rokbenko I found documentation on the PostgresSaver. Do you think it’s still in beta? Possible to find by searching on the website: 'persistence-postgres'. The direct link doesn't work :(

  • @oscarbastidas-q3y
    @oscarbastidas-q3y 3 วันที่ผ่านมา +1

    Hi, thank you for this amazing tutorial, keep doing it :)! I have a couple of questions I hope you can help with. Specifically, do you know how to interact with the database for tasks like removing a thread ID or checkpoint ID? I couldn’t find any direct LangGraph operations with the memory in the documentation for handling these scenarios. My current workaround is using direct PostgreSQL queries, but I’m unsure if that’s the best approach. Would love to hear your thoughts if you’ve worked on something similar. Thanks in advance!

  • @aifarmerokay
    @aifarmerokay 14 ชั่วโมงที่ผ่านมา

    what schema tables actully needed for postgree . im facing issue for that

  • @hasnainkhan2959
    @hasnainkhan2959 วันที่ผ่านมา

    Hey man, thanks for the video. It was really helpful. I am using the same code as you used in your video and I am getting this error:
    psycopg.errors.DuplicatePreparedStatement: prepared statement "_pg3_1" already exists
    I used await memory.setup() as this was first time. I tried to run it with commenting it but it is giving me the same error.