public static class BatchDetectLanguageEntitiesDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BatchDetectLanguageEntitiesDetails |
build() |
BatchDetectLanguageEntitiesDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that calls the API, inference will be served from pre trained model
|
BatchDetectLanguageEntitiesDetails.Builder |
copy(BatchDetectLanguageEntitiesDetails model) |
BatchDetectLanguageEntitiesDetails.Builder |
documents(List<TextDocument> documents)
List of Documents for detect entities.
|
BatchDetectLanguageEntitiesDetails.Builder |
endpointId(String endpointId)
The endpoint which have to be used for inferencing.
|
public BatchDetectLanguageEntitiesDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that calls the API, inference will be served from pre trained model
compartmentId
- the value to setpublic BatchDetectLanguageEntitiesDetails.Builder endpointId(String endpointId)
The endpoint which have to be used for inferencing. If endpointId and compartmentId is provided, then inference will be served from custom model which is mapped to this Endpoint.
endpointId
- the value to setpublic BatchDetectLanguageEntitiesDetails.Builder documents(List<TextDocument> documents)
List of Documents for detect entities.
documents
- the value to setpublic BatchDetectLanguageEntitiesDetails build()
public BatchDetectLanguageEntitiesDetails.Builder copy(BatchDetectLanguageEntitiesDetails model)
Copyright © 2016–2024. All rights reserved.