Rey the chatbot (remaking the Rey) Answered

Post author
Nihat Avcı

Rey is so powerful. And i wanna make a lighter version of it on my website, which steps should i take? Is it a chatgpt base + API connected bot?

Comments

4 comments

  • Comment author
    Josh Lopez

    Hey Nihat Avcı

    It is using openai with retrieval-augmented generation. I am saving the help center as vectors in pinecone.

    Whats unique is the way things are done. The retrieval of vectors is being done with a function call so the ai decides when it needs to get additional info. When converting the users question into a vector to be searched in pinecone the ai also creates 3 other variations of the question. This returns a list of potential matches that are sorted by the vector similarity. We also recently added a similar chunking method like level 5 (Agentic Chunking) here.

    0
  • Comment author
    Nihat Avcı

    Thank you Josh, i just gave up, i can't do it 😀

    0
  • Comment author
    Josh Lopez

    I dont blame you. It took me a long time to get everything right. I literally spend every night working on it and researching the latest ai news. I also spend a lot of time converting python projects to javascript because almost all the tutorials use python. 🤦🏻

    Here is a good video I have watched on RAG. Hopefully with some more research you can jump back in and figure it out. 🙂

    https://www.youtube.com/watch?v=LhnCsygAvzY

    0
  • Comment author
    Nihat Avcı

    I hope i can do it! Thank you for the video1

    0

Please sign in to leave a comment.