Skip to content

RAGConfigDict

Union Type

RAGConfigDict module-attribute

Dictionary form of RAGConfig, setting exactly one variant.

Union Member Types

RAGConfigKnowledgeBaseConfigDict

Bases: TypedDict

Attributes

knowledge_base_config instance-attribute

Contains configuration details for knowledge base retrieval and response generation.

RAGConfigPrecomputedRagSourceConfigDict

Bases: TypedDict

Attributes

precomputed_rag_source_config instance-attribute

Contains configuration details about the RAG source used to generate inference response data for a Knowledge Base evaluation job.