relevanceai.api.client

Batch client to allow for batch insertions/retrieval and encoding

Module Contents

Classes

BatchAPIClient

Batch API client

class relevanceai.api.client.BatchAPIClient(project: str, api_key: str)

Bases: relevanceai.api.batch.batch_insert.BatchInsertClient, relevanceai.api.batch.batch_retrieve.BatchRetrieveClient, relevanceai.api.endpoints.client.APIClient

Batch API client

batch_insert(self)
batch_get_and_edit(self, dataset_id: str, chunk_size: int, bulk_edit: Callable)

Batch get the documents and return the documents