I am confused about these 2 . Sometimes people use it interchangeably. Is it because rag is a method and where u store it should be vector db ? I remember before llms there was word2vec in the beginning ,before all of this llm. But isn’t the hard part to create such a meaningful word2vec , by the way word2vec is now called “embeddings” right?

  • __SlimeQ__B
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    you could do a rag that uses vector embeddings, but you could also just ask the llm for a search query and use that to search a database and that would still be a rag

    • troposferOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      This is interesting, you are saying like , you have embeddings on vector db , and you ask llm to give you some kind of sql query to search in vec db ?