Skip to content

RAGConfig

Union Type

RAGConfig module-attribute

Contains configuration details for retrieval of information and response generation.

Union Member Types

RAGConfigKnowledgeBaseConfig dataclass

Bases: _SerdeShape

Contains configuration details for knowledge base retrieval and response generation.

Attributes

value instance-attribute

RAGConfigPrecomputedRagSourceConfig dataclass

Bases: _SerdeShape

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

Attributes

value instance-attribute

RAGConfigUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str