Class GoogleCloudDiscoveryengineV1Chunk
Chunk captures all raw metadata information of items to be recommended or searched in the chunk mode.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1Chunk : IDirectResponseSchema
Properties
ChunkMetadata
Output only. Metadata of the current chunk.
Declaration
[JsonProperty("chunkMetadata")]
public virtual GoogleCloudDiscoveryengineV1ChunkChunkMetadata ChunkMetadata { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1ChunkChunkMetadata |
Content
Content is a string from a document (parsed content).
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
Type | Description |
---|---|
string |
DerivedStructData
Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
Declaration
[JsonProperty("derivedStructData")]
public virtual IDictionary<string, object> DerivedStructData { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
DocumentMetadata
Metadata of the document from the current chunk.
Declaration
[JsonProperty("documentMetadata")]
public virtual GoogleCloudDiscoveryengineV1ChunkDocumentMetadata DocumentMetadata { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1ChunkDocumentMetadata |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Unique chunk ID of the current chunk.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The full resource name of the chunk. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}/chunks/{chunk_id}
.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSpan
Page span of the chunk.
Declaration
[JsonProperty("pageSpan")]
public virtual GoogleCloudDiscoveryengineV1ChunkPageSpan PageSpan { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1ChunkPageSpan |
RelevanceScore
Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchResponse.
Declaration
[JsonProperty("relevanceScore")]
public virtual double? RelevanceScore { get; set; }
Property Value
Type | Description |
---|---|
double? |