Class CreateBatchRequest.Builder
java.lang.Object
io.github.stefanbratanov.jvm.openai.CreateBatchRequest.Builder
- Enclosing class:
- CreateBatchRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
completionWindow
(String completionWindow) inputFileId
(String inputFileId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputFileId
- Parameters:
inputFileId
- The ID of an uploaded file that contains requests for the new batch. Your input file must be formatted as a JSONL file, and must be uploaded with the purpose `batch`.
-
endpoint
- Parameters:
endpoint
- The endpoint to be used for all requests in the batch.
-
completionWindow
- Parameters:
completionWindow
- The time frame within which the batch should be processed.
-
metadata
- Parameters:
metadata
- Custom metadata for the batch.
-
build
-