Module rig::rag

source ·

Structs§

  • Struct representing a RAG agent, i.e.: an agent enhanced with two collections of vector store indices, one for context documents and one for tools. The ragged context and tools are used to enhance the completion model at prompt-time. Note: The type of the VectorStoreIndex must be the same for all the dynamic context and tools indices (but can be different for context and tools). If you need to use a more complex combination of vector store indices, you should implement a custom agent.
  • Builder for creating a RAG agent

Type Aliases§