• In the context of an AI chat agent, a knowledge base is a collection of information that the chat agent can use to answer questions and provide assistance to users.
  • Rivalz convert your uploaded documents into vectors using a pre-trained language model. These vectors are then stored in a database and used to retrieve relevant documents when a user asks a question.
  • Here is the process of creating a knowledge base:
    • Upload your documents to the Rivalz API.
    • Rivalz chunks the documents into smaller pieces and converts them into vectors using a pre-trained language model.
    • The vectors are stored in a database. vector
    • When a user asks a question, Rivalz uses the vectors to retrieve relevant documents from the database.
  • Rivalz use GoogleGenerativeAIEmbeddings to vectorize the documents.