Create a new file in Extend for use in an evaluation set.
/upload
endpoint instead.
Creating a new File is a prerequisite for using that file with the evaluation sets API.
This endpoint will pre-process the contents of the file, and store it in the Extend platform for use in evaluation sets. For files that require pre-processing (e.g. pdfs, images, etc.) this endpoint can take up to 30 seconds to complete.
Supported file types can be found here.
application/pdf
). Will be inferred if not provided.