Upload Documents

Uploads documents into a data lake for future retrieval and processing.

Example Payload & Method

payload = {
    "datalake_id":"f31d538c29c54713",
    "document_type":"pdf",
    "document_data": "/var/www/groc-lake-api/plotch_ai.pdf"
}

data_push = datalake.document_push(payload)
print("data_push----", data_push)

ExampleResponse

data_push---- {'document_id': '9db48924813348f7'}

Last updated