Class RagConfig (2.0.0)

RagConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for Retrieval Augmented Generation feature.

Attribute

Name Description
enable_rag bool
If true, enable Retrieval Augmented Generation in ChatCompletion request. Once enabled, the endpoint will be identified as GenAI endpoint and Arthedain router will be used.

Methods

RagConfig

RagConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for Retrieval Augmented Generation feature.