Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class RagContexts.
Relevant contexts for one query.
Generated from protobuf message google.cloud.aiplatform.v1.RagContexts
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ contexts |
array<RagContexts\Context>
All its contexts. |
getContexts
All its contexts.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setContexts
All its contexts.
Parameter | |
---|---|
Name | Description |
var |
array<RagContexts\Context>
|
Returns | |
---|---|
Type | Description |
$this |