Adding Memory to the Knowledge Base in Voiceflow

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • This tutorial walks through how to access the memory object inside of Voiceflow! This way you can choose when you want to pass it in or manipulate it further for more advanced use cases (like selectively passing certain aspects of memory to the assistant).
    NOTE: The memory object in Voiceflow contains the last 10 messages of the conversation, indicated by the role of 'assistant' or user.
    Give it a try!
    ***
    The collaborative platform to build AI agents. Use Voiceflow to design, test, and launch chat or voice AI agents - together, faster, at scale.
    Join our Discord community
    👾 / discord
    Kickstart your next project with our templates
    🚀 www.voiceflow....
    Our Links 🔗
    👉 Start building today: www.voiceflow.com
    👉 Subscribe: bit.ly/3am22nf
    👉 Twitter: bit.ly/2xrXZqV
    👉 LinkedIn: / voiceflowhq
    👉 Publication: www.voiceflow....

Комментарии • 21

  • @Voiceflow
    @Voiceflow  4 месяца назад

    Voiceflow might look a little different than what's in this video from 2023. Browse our documentation to learn more, or connect with community builders on our Discord!
    Docs ➡voiceflow.com/docs
    Discord ➡link.voiceflow.com/community

  • @kevon217
    @kevon217 9 месяцев назад +1

    Love this ui and workflow. Just started playing with voiceflow and I really enjoy it.

    • @Voiceflow
      @Voiceflow  9 месяцев назад

      Awesome to hear!

  • @Steven-Bamber
    @Steven-Bamber 8 месяцев назад +2

    Just some constructive feedback for your tutorial videos. Build every part out as a new user would and let us see you build each part out so we can see where you click etc. Also don't use quirky quick ways of doing things without explaining what you did so others can copy. Thanks for your videos. :)

  • @user-dt6yi8zr9o
    @user-dt6yi8zr9o 9 месяцев назад +1

    This video is really useful for understanding the concepts presented. However, it would be really, really powerful if there were some examples given, especially in the part around 1 minute in where Daniel talks about using MEMORY+PROMPTS, and using injecting memory into your KB prompts. I still don't fully understand what he was talking about there, but I would if there were some examples I'm sure.

    • @Voiceflow
      @Voiceflow  9 месяцев назад

      Thank you for the feedback!

  • @frederickhuman1343
    @frederickhuman1343 6 дней назад

    Why did you include the triple quotes when you added the memory variable into the instructions prompt?
    ''''
    {memory}
    '''

  • @19kickboxer68
    @19kickboxer68 5 месяцев назад +1

    Does this become an issue after time and with multiple users.
    How does this work for each individual user? Does it create a separate memory variable for each or do conversations get cross pollenated.
    Also over time this is going to fill the KB available memory space so how do you clear it etc with reference to previous questions.

  • @MilanJerkovic
    @MilanJerkovic 9 месяцев назад +2

    I did the same thing, but it doesn't work for me, when I print out memory, I get 0. Is it enough to just have JSON.stringify(_memory_) and set that to a variable memory?

    • @Voiceflow
      @Voiceflow  9 месяцев назад

      Yup! That should work. If you put the {memory} variable in a text step you'll be able to see what it looks like after a few responses.

    • @MilanJerkovic
      @MilanJerkovic 9 месяцев назад

      @@Voiceflow Thanks for the answer, I know it should based on your video, but it doesn't, I am printing memory after a few responses, but I get 0

    • @Voiceflow
      @Voiceflow  9 месяцев назад

      @@MilanJerkovic I'd recommend hoping in the discord to see if someone can help - there is a thread here that would be good to post on. I'd recommend including a video walkthrough so people can see where it might be wrong
      discord.com/channels/1079548823610871889/1177248926735278171

    • @GrenateCo
      @GrenateCo 9 месяцев назад

      @@Voiceflow Tried to enter the discord channel link you sent but it doesn't seem to load. Did anyone manage to print out latest value of memory rather than 0? It'll be super powerful if it can be done.

    • @Voiceflow
      @Voiceflow  9 месяцев назад

      @@GrenateCo Try this link: discord.com/invite/jYCjyfXNrB

  • @eeling9212
    @eeling9212 4 месяца назад

    Do this memory works on any API application?

  • @ayoungceo213
    @ayoungceo213 9 месяцев назад

    The SET IA is no longer the same. What information should I enter and where?

  • @user-tb8tt6vp8o
    @user-tb8tt6vp8o 9 месяцев назад

    How can you save the memory in a database or google docs file? Can someone help me with that?

  • @TziLakriZa
    @TziLakriZa 6 месяцев назад

    I have some problems with the memory. I tell the AI that my name is XYZ and then I ask him what my name is, and it is a "not found". I put the memory in the text to make sure that it was updated, and it was.
    As prompt I used the same in the video:
    use the following conversation history to help you with your answer:
    ```
    {memory}
    ```

    • @DorianMenard
      @DorianMenard 3 месяца назад

      best to get the AI to create a variable for {name} by asking it to the user and capturing it. Then you can prompt it to answer using {name} ;-)

  • @safwanjuhayer8507
    @safwanjuhayer8507 8 месяцев назад

    It didn't work. Is this because I am not a paid user?