MatchCollectionChunksRequest
Properties
Name |
Type |
Description |
Notes |
---|---|---|---|
vectors |
List[List[float]] |
A list of vectorized message for running semantic search. |
|
topics |
List[str] |
A list of document_ids used to filter which documents in the collection to search. |
|
offset |
int |
How many chunks to skip before returning chunks. |
[optional] [default to 0] |
limit |
int |
How many chunks to return. |
[optional] [default to 100] |
cut_off |
float |
Exclude matches with distances higher than this cut off. |
[optional] [default to 0] |
Example
from h2ogpte.rest_async.models.match_collection_chunks_request import MatchCollectionChunksRequest
# TODO update the JSON string below
json = "{}"
# create an instance of MatchCollectionChunksRequest from a JSON string
match_collection_chunks_request_instance = MatchCollectionChunksRequest.from_json(json)
# print the JSON string representation of the object
print(MatchCollectionChunksRequest.to_json())
# convert the object into a dict
match_collection_chunks_request_dict = match_collection_chunks_request_instance.to_dict()
# create an instance of MatchCollectionChunksRequest from a dict
match_collection_chunks_request_from_dict = MatchCollectionChunksRequest.from_dict(match_collection_chunks_request_dict)