Ingesting Directories

If you are using our Python SDK, there is an ingest_directory method that can be used to ingest a folder of local documents.

ingest_directory

bucket_id
integerRequired

The bucket ID of the bucket which the files will be ingested to.

path
stringRequired

The local file directory path being ingested by GroundX.

batch_size
integer

The number of files submitted with each ingest request. Default is 10. Can be between 1 to 50 for paid subscriptions or 1 to 25 for free trial accounts.

upload_api
string

An endpoint that generates pre-signed requests for file uploads. Default is the EyeLevel.ai upload API.