# Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::Answer::Step::Action::Observation::SearchResult::ChunkInfo (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.1.1 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Answer::Step::Action::Observation::SearchResult::ChunkInfo.

Chunk information.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #chunk

    def chunk() -> ::String

**Returns**

- (::String) --- Chunk resource name.

### #chunk=

    def chunk=(value) -> ::String

**Parameter**

- **value** (::String) --- Chunk resource name.
**Returns**

- (::String) --- Chunk resource name.

### #content

    def content() -> ::String

**Returns**

- (::String) --- Chunk textual content.

### #content=

    def content=(value) -> ::String

**Parameter**

- **value** (::String) --- Chunk textual content.
**Returns**

- (::String) --- Chunk textual content.

### #relevance_score

    def relevance_score() -> ::Float

**Returns**

- (::Float) --- The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.

### #relevance_score=

    def relevance_score=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.
**Returns**

- (::Float) --- The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.