Ask a question to get started
Enter to send•Shift+Enter new line
Enable dataset indexing. Examples are indexed by their inputs.
This enables searching for similar examples by inputs with client.similar_examples().
client.similar_examples()
index_dataset( self, *, dataset_id: ls_client.ID_TYPE, tag: str = 'latest', **kwargs: Any = {} ) -> None
dataset_id
Union[UUID, str]
The ID of the dataset to index.
tag
str
'latest'
The version of the dataset to index.
If 'latest' then any updates to the dataset (additions, updates, deletions of examples) will be reflected in the index.