MemGPT: AI Agent 🤖 with Unlimited Memory 🧠 | Store and Load Converstations

Ғылым және технология

In this video, we will look at the open source MemGPT project that is aiming towards solving the small context window problem that is impacting the current LLMs. We will install the repo on our local machine and customize the personas of both the AI assistant and the human agent.
Let's Connect:
☕ Buy me a Coffee: ko-fi.com/promptengineering
|🔴 Support my work on Patreon: Patreon.com/PromptEngineering
🦾 Discord: / discord
💼Consulting: calendly.com/engineerprompt/c...
Links:
MemGPT website: memgpt.ai
MemGPT Repo: github.com/cpacker/MemGPT
MemGPT paper: arxiv.org/abs/2310.08560
Timestamps:
[00:00] Intro
[01:10] MemGPT Paper
[02:40] How it works?
[04:07] Local installation
[06:12] How to use memgpt
[08:30] How to change Personas
[10:35] How memory is updated
[12:48] Save and Load Conversations

Пікірлер: 59

  • @engineerprompt
    @engineerprompt9 ай бұрын

    Want to connect? 💼Consulting: calendly.com/engineerprompt/consulting-call 🦾 Discord: discord.com/invite/t4eYQRUcXB ☕ Buy me a Coffee: ko-fi.com/promptengineering |🔴 Join Patreon: Patreon.com/PromptEngineering

  • @enceladus96
    @enceladus962 ай бұрын

    I just like this guy's voice tbh, not over inducing, not salesy, just genuinely explaining stuff just for the sake of explaining stuff. And without telling me to subscribe like 10x

  • @Artorias920
    @Artorias9209 ай бұрын

    Awesome vid!

  • @jackcarroll2071
    @jackcarroll20719 ай бұрын

    First here much love to you and your content keep it up 💯

  • @snook551
    @snook5519 ай бұрын

    Awesome video! Would love another on using MemGPT to chat with documents

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    Yes

  • @snook551

    @snook551

    9 ай бұрын

    @@engineerprompt I think it would be especially interesting to see how MemGPT could be used to take on the persona of an author, ask and store answers to questions that pertain to the text and guide the user through the concepts in the text. MemGPT seems like the perfect solution for such an experience

  • @LoveWorldamineK
    @LoveWorldamineK9 ай бұрын

    how can i use this chat bot with my local documents ?? can you do for us onther video please a,d man you are amazing thank you so much ! you are better than anyone else

  • @johanvander6193
    @johanvander61939 ай бұрын

    I hope they will lower the costs for API-calls. I toyed a bit with the open-source code interpreter model a while back using GPT-4 and the money evaporate in front of your eyes. I can imagine that there is no different outcome when using MemGPT with GPT-4 right?

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    Yes, at the moment, it's not really feasible for larger projects before of the cost.

  • @iokinpardoitxaso8836
    @iokinpardoitxaso88369 ай бұрын

    Amazing feature. Could you please create a video with embeddings and seeing how it performs? Thanks in advance.

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    Yes, that’s coming soon

  • @wholeness

    @wholeness

    9 ай бұрын

    Thats what we want yet people can't seem to figure that out.

  • @henkhbit5748
    @henkhbit57489 ай бұрын

    Very Interesting project. I am curious how it will manage in an multi user environment where u chat with a gui like gradio of streamlit. Not really interested in close source solution. Hopefully support for open source llm will come soon. Thanks for showing us in new dev in llm.👍

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    I think it will take a while for open source models to be used in projects like these. They still lack instruction following abilities. If you notice most of the projects that use agents are based on gpt4. Even ChatGPT can’t keep up with the complexity involved

  • @henkhbit5748

    @henkhbit5748

    9 ай бұрын

    @@engineerpromptnot so long there was a paper from Microsoft research about extending the context length to 1 million tokens or more. Autogen could be used for open source llm as well. Mistral has already a token length of 8k and 16k on some open source llm also. I think memgpt is Just extending the conversation and cannot for example summarize a book with 100k tokens or more. Its proven that size not always matter. Look at mistral. I think that a federative llms finetuned for multiple tasks working together can beat gpt4....

  • @malikrumi1206

    @malikrumi1206

    9 ай бұрын

    But how do models with larger context windows perform against the same model with the original smaller window?

  • @konstantinlozev2272
    @konstantinlozev22729 ай бұрын

    You can integrate that into your LocalGPT project, no?

  • @user-wo3ym4bj8e
    @user-wo3ym4bj8e7 ай бұрын

    Hello. What if i want to have a gpt locally to train it with my local data and not output anything outside in apis ? Also i would like to have the conversations stored locally. Important is that i want my localgpt to have access to my full app code so that it learns from it. What should I use ?

  • @whatitdo6287
    @whatitdo62879 ай бұрын

    MemGPT GPT Engineer combination could be fun 🤔

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    and really expensive as well 😀

  • @poloceccati
    @poloceccati9 ай бұрын

    Are we allowed to delete the venv or is it qilling someone ?

  • @kelligwamtwa3958
    @kelligwamtwa39589 ай бұрын

    What is the barrier to adding this memGpt functionality to your localGPT project qnd specifically using llms like mistral 7b?

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    I think it’s going to be the model themselves. At the moment, smaller models are not good at following complex instructions and working with agents. Hopefully this will change soon

  • @kelligwamtwa3958

    @kelligwamtwa3958

    9 ай бұрын

    Thanks for everything. Your are deep tracks my man.

  • @priyanshneema
    @priyanshneema7 ай бұрын

    Hello, Can you please make full video session on How to Integrate MemGPT into Gradio interface. Anyone work and have done this before please share me, Thanks!

  • @poloceccati
    @poloceccati9 ай бұрын

    Thanks, very interesting projects as usual. Would be nice to be able to run a llm locally for this MemGPT. Maybe you already coverded such tweaks in one of your previous tutorials.

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    I think its going to take some time before local models are powerful enough

  • @billcollins6894

    @billcollins6894

    9 ай бұрын

    @@engineerprompt What if a more narrow purpose was the goal? Is it possible to reduce the knowledge areas so that only a specific area was needed? For instance, say only cooking knowledge was required, not knowledge of car repair, science, etc. Would this help an LLM running on a local GPU?

  • @kevinyuan2735
    @kevinyuan27359 ай бұрын

    It would be very interesting to combine memgpt and Secfillings together🤣

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    agree :)

  • @guysarkinskiy2401
    @guysarkinskiy24019 ай бұрын

    Can MenGPT be integrated with local LLM model?

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    Yes, watch the video being released in a couple of hours

  • @abdullahmohammed6533
    @abdullahmohammed65339 ай бұрын

    How you generated the avatar

  • @engineerprompt

    @engineerprompt

    9 ай бұрын

    check this out: kzread.info/dash/bejne/iGaZyLiMiLbSocY.html

  • @computerauditor
    @computerauditor9 ай бұрын

    That AI generated Avatar was cool!! (It was AI generated right !!!☠☠☠)

  • @serenditymuse
    @serenditymuse9 ай бұрын

    A persistent pickle? Wouldn't you want to save in vector form? Or am I getting confused? I want what it remembers in vector form I think for ease of use. Am I missing something? Ah, it does incorporate llamaindex abilities.

  • @Canna_Science_and_Technology

    @Canna_Science_and_Technology

    9 ай бұрын

    You use pickle to save or keep FAISS vector store. Save_local.. ;-)

  • @-someone-.
    @-someone-.9 ай бұрын

    Im working on KEKgpt. It’ll troll all online gpt instances and tell them bad jokes. It’s to teach resilience. 😅

  • @hectornonayurbusiness2631

    @hectornonayurbusiness2631

    9 ай бұрын

    I love it

  • @ronin6158
    @ronin61589 ай бұрын

    u handsome devil. Your mouth moves almost perfectly.

  • @DezorianGuy
    @DezorianGuy9 ай бұрын

    Any idea when these models, open ai chat gpt 4 / API will become free for all? It feels like back in the day when the internet could only be used by a few rich people. Only bing offers people gpt4, any idea why that is?

  • @georgesanchez8051

    @georgesanchez8051

    9 ай бұрын

    Probably never. Once they’re old enough, OpenAI will just “discontinue” (deprecate) them in favor of their newer models. However, open-source models will always be trying to catch up, so I’m sure that by the time these models are deprecated, OSS (open source software) will have already caught up to and/or exceeded their capabilities. But for the time being, don’t hold your breath.

  • @DezorianGuy

    @DezorianGuy

    9 ай бұрын

    @@georgesanchez8051 OK, will try to master my patience to an expert level then. Keep up the good work. 👍🏻

  • @SanataniAryavrat
    @SanataniAryavrat9 ай бұрын

    Please create a UI like gradio or flask for chat bot

  • @gkhndnc
    @gkhndnc9 ай бұрын

    Make the waw avatar from the picture with lipsynic. head movements blink eye very realistic. what did you do it with?

  • @Leonid.Shamis

    @Leonid.Shamis

    9 ай бұрын

    I do not recall seeing the @engineerprompt AI avatar in previous videos, it must be new. The voice (or AI voice-over) is the same as in other videos - is it real or also AI generated?

  • @MaxPayne_in
    @MaxPayne_in8 ай бұрын

    ye thobda hta beech me se ye to ise side me lga chota krke

  • @kshitijtyagi2116
    @kshitijtyagi21169 ай бұрын

    Can we stop saying "increasing the context window"? None of these functionalities even come close to mimicking the context window of any LLM. These approaches are simply context-manipulators. They twist and turn the data that is being fed into the context-window of the LLM. These guys in the Open-source world (no hard feelings, you are doing an amazing job and we as a community are growing with your contributions) are simply using terms like "unlimited context window" because that sounds fancy... grabs attention... and etc!

  • @DezorianGuy
    @DezorianGuy9 ай бұрын

    My only question: is it free?

  • @SanataniAryavrat

    @SanataniAryavrat

    9 ай бұрын

    No . For OpenAI api , it costs

  • @DezorianGuy

    @DezorianGuy

    9 ай бұрын

    Thx

  • @jonnygrown22
    @jonnygrown229 ай бұрын

    How many time do u have to make a vid like this lol.... I swear they never actually work

  • @theresalwaysanotherway3996

    @theresalwaysanotherway3996

    9 ай бұрын

    except if you watch the video, it works perfectly.

  • @greenbillugaming2781

    @greenbillugaming2781

    9 ай бұрын

    what not work ?

  • @Stewz66

    @Stewz66

    7 ай бұрын

    it worked for me, fwiw. MemGPT has updated some of their installation instructions, so I modified the installation from what Mohamed demonstrated, but I have it running all day now and with impressive results.

  • @jeffcooper4246
    @jeffcooper42469 ай бұрын

    you can believe what you want but im telling you that mother f'er aint real!

  • @serenditymuse
    @serenditymuse9 ай бұрын

    I don't need an AI to do all this nice nice apologizing and such. I don't want an AI that does small talk either. I don't think many do. So why show this stuff? MemGPT is cool but imho this is distracting.

Келесі