|
8 | 8 | import com.oracle.bmc.ailanguage.responses.*; |
9 | 9 |
|
10 | 10 | /** |
11 | | - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately using our proven, |
| 11 | + * OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven, |
12 | 12 | * pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts. |
13 | 13 | * This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market. |
14 | 14 | * |
@@ -48,6 +48,92 @@ public interface AIServiceLanguageAsync extends AutoCloseable { |
48 | 48 | */ |
49 | 49 | void setRegion(String regionId); |
50 | 50 |
|
| 51 | + /** |
| 52 | + * Make a detect call to language detection pre-deployed model. |
| 53 | + * |
| 54 | + * @param request The request object containing the details to send |
| 55 | + * @param handler The request handler to invoke upon completion, may be null. |
| 56 | + * @return A Future that can be used to get the response if no AsyncHandler was |
| 57 | + * provided. Note, if you provide an AsyncHandler and use the Future, some |
| 58 | + * types of responses (like java.io.InputStream) may not be able to be read in |
| 59 | + * both places as the underlying stream may only be consumed once. |
| 60 | + */ |
| 61 | + java.util.concurrent.Future<BatchDetectDominantLanguageResponse> batchDetectDominantLanguage( |
| 62 | + BatchDetectDominantLanguageRequest request, |
| 63 | + com.oracle.bmc.responses.AsyncHandler< |
| 64 | + BatchDetectDominantLanguageRequest, BatchDetectDominantLanguageResponse> |
| 65 | + handler); |
| 66 | + |
| 67 | + /** |
| 68 | + * Make a batch detect call to entity pre-deployed model |
| 69 | + * |
| 70 | + * @param request The request object containing the details to send |
| 71 | + * @param handler The request handler to invoke upon completion, may be null. |
| 72 | + * @return A Future that can be used to get the response if no AsyncHandler was |
| 73 | + * provided. Note, if you provide an AsyncHandler and use the Future, some |
| 74 | + * types of responses (like java.io.InputStream) may not be able to be read in |
| 75 | + * both places as the underlying stream may only be consumed once. |
| 76 | + */ |
| 77 | + java.util.concurrent.Future<BatchDetectLanguageEntitiesResponse> batchDetectLanguageEntities( |
| 78 | + BatchDetectLanguageEntitiesRequest request, |
| 79 | + com.oracle.bmc.responses.AsyncHandler< |
| 80 | + BatchDetectLanguageEntitiesRequest, BatchDetectLanguageEntitiesResponse> |
| 81 | + handler); |
| 82 | + |
| 83 | + /** |
| 84 | + * Make a detect call to the keyPhrase pre-deployed model. |
| 85 | + * |
| 86 | + * @param request The request object containing the details to send |
| 87 | + * @param handler The request handler to invoke upon completion, may be null. |
| 88 | + * @return A Future that can be used to get the response if no AsyncHandler was |
| 89 | + * provided. Note, if you provide an AsyncHandler and use the Future, some |
| 90 | + * types of responses (like java.io.InputStream) may not be able to be read in |
| 91 | + * both places as the underlying stream may only be consumed once. |
| 92 | + */ |
| 93 | + java.util.concurrent.Future<BatchDetectLanguageKeyPhrasesResponse> |
| 94 | + batchDetectLanguageKeyPhrases( |
| 95 | + BatchDetectLanguageKeyPhrasesRequest request, |
| 96 | + com.oracle.bmc.responses.AsyncHandler< |
| 97 | + BatchDetectLanguageKeyPhrasesRequest, |
| 98 | + BatchDetectLanguageKeyPhrasesResponse> |
| 99 | + handler); |
| 100 | + |
| 101 | + /** |
| 102 | + * Make a detect call to sentiment pre-deployed model. |
| 103 | + * |
| 104 | + * @param request The request object containing the details to send |
| 105 | + * @param handler The request handler to invoke upon completion, may be null. |
| 106 | + * @return A Future that can be used to get the response if no AsyncHandler was |
| 107 | + * provided. Note, if you provide an AsyncHandler and use the Future, some |
| 108 | + * types of responses (like java.io.InputStream) may not be able to be read in |
| 109 | + * both places as the underlying stream may only be consumed once. |
| 110 | + */ |
| 111 | + java.util.concurrent.Future<BatchDetectLanguageSentimentsResponse> |
| 112 | + batchDetectLanguageSentiments( |
| 113 | + BatchDetectLanguageSentimentsRequest request, |
| 114 | + com.oracle.bmc.responses.AsyncHandler< |
| 115 | + BatchDetectLanguageSentimentsRequest, |
| 116 | + BatchDetectLanguageSentimentsResponse> |
| 117 | + handler); |
| 118 | + |
| 119 | + /** |
| 120 | + * Make a detect call to text classification from the pre-deployed model. |
| 121 | + * |
| 122 | + * @param request The request object containing the details to send |
| 123 | + * @param handler The request handler to invoke upon completion, may be null. |
| 124 | + * @return A Future that can be used to get the response if no AsyncHandler was |
| 125 | + * provided. Note, if you provide an AsyncHandler and use the Future, some |
| 126 | + * types of responses (like java.io.InputStream) may not be able to be read in |
| 127 | + * both places as the underlying stream may only be consumed once. |
| 128 | + */ |
| 129 | + java.util.concurrent.Future<BatchDetectLanguageTextClassificationResponse> |
| 130 | + batchDetectLanguageTextClassification( |
| 131 | + BatchDetectLanguageTextClassificationRequest request, |
| 132 | + com.oracle.bmc.responses.AsyncHandler< |
| 133 | + BatchDetectLanguageTextClassificationRequest, |
| 134 | + BatchDetectLanguageTextClassificationResponse> |
| 135 | + handler); |
| 136 | + |
51 | 137 | /** |
52 | 138 | * Make a detect call to language detection pre-deployed model. |
53 | 139 | * |
|
0 commit comments