SDK reference · Assistants and evaluation
client.datasets
client.datasets.{ register, list }Register where a dataset lives; Trickroom keeps the reference, not the data.
register
register(input: DatasetReference, key: string): Promise<Resource>Registers a dataset.
Parameters
keystring- An idempotency key. Retrying with the same key and input returns the first result instead of acting twice.
Returns Promise<Resource>
list
list(): Promise<Page>The application's datasets.
Returns Promise<Page>