Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CheckGroundingFactChunk.
Fact chunk for grounding check.
Generated from protobuf message google.cloud.discoveryengine.v1.CheckGroundingResponse.CheckGroundingFactChunk
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ CheckGroundingResponseMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ chunk_text |
string
Text content of the fact chunk. Can be at most 10K characters long. |
getChunkText
Text content of the fact chunk. Can be at most 10K characters long.
| Returns | |
|---|---|
| Type | Description |
string |
|
setChunkText
Text content of the fact chunk. Can be at most 10K characters long.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|