Google Cloud Ai Platform V1 Client - Class RagConfig (1.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class RagConfig.
Configuration for Retrieval Augmented Generation feature.
Generated from protobuf message google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig.RagConfig
Namespace
Google \ Cloud \ AIPlatform \ V1 \ GenAiAdvancedFeaturesConfig
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ 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.
getEnableRag
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.
Returns
Type
Description
bool
setEnableRag
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-19 UTC."],[],[]]