ChunkSearchResult

Properties

Name

Type

Description

Notes

text

str

The text represented by the chunk

id

int

The identifier of the chunk

name

str

size

int

The size in bytes.

pages

str

topic

str

score

float

Example

from h2ogpte.rest_sync.models.chunk_search_result import ChunkSearchResult

# TODO update the JSON string below
json = "{}"
# create an instance of ChunkSearchResult from a JSON string
chunk_search_result_instance = ChunkSearchResult.from_json(json)
# print the JSON string representation of the object
print(ChunkSearchResult.to_json())

# convert the object into a dict
chunk_search_result_dict = chunk_search_result_instance.to_dict()
# create an instance of ChunkSearchResult from a dict
chunk_search_result_from_dict = ChunkSearchResult.from_dict(chunk_search_result_dict)