3333import org .springframework .web .util .UriComponentsBuilder ;
3434
3535/**
36- * Document Grounding Pipeline API in version 0.1.0.
36+ * Grounding in version 0.1.0.
3737 *
38- * <p>SAP AI Core - API Specification AI Data Management api's
38+ * <p>Grounding is a service designed to handle data-related tasks, such as grounding and retrieval,
39+ * using vector databases. It provides specialized data retrieval through these databases, grounding
40+ * the retrieval process with your own external and context-relevant data. Grounding combines
41+ * generative AI capabilities with the ability to use real-time, precise data to improve
42+ * decision-making and business operations for specific AI-driven business solutions.
3943 */
4044public class VectorApi extends AbstractOpenApiService {
4145 /**
42- * Instantiates this API class to invoke operations on the Document Grounding Pipeline API .
46+ * Instantiates this API class to invoke operations on the Grounding.
4347 *
4448 * @param httpDestination The destination that API should be used with
4549 */
@@ -48,8 +52,8 @@ public VectorApi(@Nonnull final Destination httpDestination) {
4852 }
4953
5054 /**
51- * Instantiates this API class to invoke operations on the Document Grounding Pipeline API based
52- * on a given {@link ApiClient}.
55+ * Instantiates this API class to invoke operations on the Grounding based on a given {@link
56+ * ApiClient}.
5357 *
5458 * @param apiClient ApiClient to invoke the API on
5559 */
@@ -70,7 +74,7 @@ public VectorApi(@Nonnull final ApiClient apiClient) {
7074 *
7175 * <p><b>422</b> - There are validation issues with the data.
7276 *
73- * @param aiResourceGroup The value for the parameter aiResourceGroup
77+ * @param aiResourceGroup Resource Group ID
7478 * @param collectionRequest The value for the parameter collectionRequest
7579 * @return An OpenApiResponse containing the status code of the HttpResponse.
7680 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
@@ -142,8 +146,8 @@ public OpenApiResponse createCollection(
142146 *
143147 * <p><b>422</b> - There are validation issues with the data.
144148 *
145- * @param aiResourceGroup The value for the parameter aiResourceGroup
146- * @param collectionId The value for the parameter collectionId
149+ * @param aiResourceGroup Resource Group ID
150+ * @param collectionId Collection ID
147151 * @param documentCreateRequest The value for the parameter documentCreateRequest
148152 * @return DocumentsListResponse
149153 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
@@ -227,8 +231,8 @@ public DocumentsListResponse createDocuments(
227231 *
228232 * <p><b>422</b> - There are validation issues with the data.
229233 *
230- * @param aiResourceGroup The value for the parameter aiResourceGroup
231- * @param collectionId The value for the parameter collectionId
234+ * @param aiResourceGroup Resource Group ID
235+ * @param collectionId Collection ID
232236 * @return An OpenApiResponse containing the status code of the HttpResponse.
233237 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
234238 */
@@ -303,9 +307,9 @@ public OpenApiResponse deleteCollectionById(
303307 *
304308 * <p><b>422</b> - There are validation issues with the data.
305309 *
306- * @param aiResourceGroup The value for the parameter aiResourceGroup
307- * @param collectionId The value for the parameter collectionId
308- * @param documentId The value for the parameter documentId
310+ * @param aiResourceGroup Resource Group ID
311+ * @param collectionId Collection ID
312+ * @param documentId Document ID
309313 * @return An OpenApiResponse containing the status code of the HttpResponse.
310314 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
311315 */
@@ -385,7 +389,7 @@ public OpenApiResponse deleteDocumentById(
385389 *
386390 * <p><b>400</b> - The specification of the resource was incorrect
387391 *
388- * @param aiResourceGroup (required) The value for the parameter aiResourceGroup
392+ * @param aiResourceGroup (required) Resource Group ID
389393 * @param $top (optional) Number of results to display
390394 * @param $skip (optional) Number of results to be skipped from the ordered list of results
391395 * @param $count (optional) When the $count field is set to false, the response contains a count
@@ -457,7 +461,7 @@ public CollectionsListResponse getAllCollections(
457461 *
458462 * <p><b>400</b> - The specification of the resource was incorrect
459463 *
460- * @param aiResourceGroup The value for the parameter aiResourceGroup
464+ * @param aiResourceGroup Resource Group ID
461465 * @return CollectionsListResponse
462466 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
463467 */
@@ -480,8 +484,8 @@ public CollectionsListResponse getAllCollections(@Nonnull final String aiResourc
480484 *
481485 * <p><b>422</b> - There are validation issues with the data.
482486 *
483- * @param aiResourceGroup (required) The value for the parameter aiResourceGroup
484- * @param collectionId (required) The value for the parameter collectionId
487+ * @param aiResourceGroup (required) Resource Group ID
488+ * @param collectionId (required) Collection ID
485489 * @param $top (optional) Number of results to display
486490 * @param $skip (optional) Number of results to be skipped from the ordered list of results
487491 * @param $count (optional) When the $count field is set to false, the response contains a count
@@ -569,8 +573,8 @@ public Documents getAllDocuments(
569573 *
570574 * <p><b>422</b> - There are validation issues with the data.
571575 *
572- * @param aiResourceGroup The value for the parameter aiResourceGroup
573- * @param collectionId The value for the parameter collectionId
576+ * @param aiResourceGroup Resource Group ID
577+ * @param collectionId Collection ID
574578 * @return Documents
575579 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
576580 */
@@ -594,8 +598,8 @@ public Documents getAllDocuments(
594598 *
595599 * <p><b>422</b> - There are validation issues with the data.
596600 *
597- * @param aiResourceGroup The value for the parameter aiResourceGroup
598- * @param collectionId The value for the parameter collectionId
601+ * @param aiResourceGroup Resource Group ID
602+ * @param collectionId Collection ID
599603 * @return Collection
600604 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
601605 */
@@ -669,8 +673,8 @@ public Collection getCollectionById(
669673 *
670674 * <p><b>422</b> - There are validation issues with the data.
671675 *
672- * @param aiResourceGroup The value for the parameter aiResourceGroup
673- * @param id The value for the parameter id
676+ * @param aiResourceGroup Resource Group ID
677+ * @param id Collection ID
674678 * @return VectorV1VectorEndpointsGetCollectionCreationStatus200Response
675679 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
676680 */
@@ -746,8 +750,8 @@ public VectorV1VectorEndpointsGetCollectionCreationStatus200Response getCollecti
746750 *
747751 * <p><b>422</b> - There are validation issues with the data.
748752 *
749- * @param aiResourceGroup The value for the parameter aiResourceGroup
750- * @param id The value for the parameter id
753+ * @param aiResourceGroup Resource Group ID
754+ * @param id Collection ID
751755 * @return VectorV1VectorEndpointsGetCollectionDeletionStatus200Response
752756 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
753757 */
@@ -823,9 +827,9 @@ public VectorV1VectorEndpointsGetCollectionDeletionStatus200Response getCollecti
823827 *
824828 * <p><b>422</b> - There are validation issues with the data.
825829 *
826- * @param aiResourceGroup The value for the parameter aiResourceGroup
827- * @param collectionId The value for the parameter collectionId
828- * @param documentId The value for the parameter documentId
830+ * @param aiResourceGroup Resource Group ID
831+ * @param collectionId Collection ID
832+ * @param documentId Document ID
829833 * @return DocumentResponse
830834 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
831835 */
@@ -898,7 +902,7 @@ public DocumentResponse getDocumentById(
898902 /**
899903 * Search chunk by vector
900904 *
901- * <p>Search chunk by vector
905+ * <p>Search chunks
902906 *
903907 * <p><b>200</b> - Successful Response
904908 *
@@ -908,7 +912,7 @@ public DocumentResponse getDocumentById(
908912 *
909913 * <p><b>422</b> - There are validation issues with the data.
910914 *
911- * @param aiResourceGroup The value for the parameter aiResourceGroup
915+ * @param aiResourceGroup Resource Group ID
912916 * @param textSearchRequest The value for the parameter textSearchRequest
913917 * @return SearchResults
914918 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
@@ -928,7 +932,7 @@ public SearchResults search(
928932 // verify the required parameter 'textSearchRequest' is set
929933 if (textSearchRequest == null ) {
930934 throw new OpenApiRequestException (
931- "Missing the required parameter 'textSearchRequest' when calling vectorV1VectorEndpointsSearch " );
935+ "Missing the required parameter 'textSearchRequest' when calling vectorV1VectorEndpointsSearchChunk " );
932936 }
933937
934938 final String localVarPath =
@@ -978,8 +982,8 @@ public SearchResults search(
978982 *
979983 * <p><b>422</b> - There are validation issues with the data.
980984 *
981- * @param aiResourceGroup The value for the parameter aiResourceGroup
982- * @param collectionId The value for the parameter collectionId
985+ * @param aiResourceGroup Resource Group ID
986+ * @param collectionId Collection ID
983987 * @param documentUpdateRequest The value for the parameter documentUpdateRequest
984988 * @return DocumentsListResponse
985989 * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
0 commit comments