Note that we now highly recommend new customers to use Retail API, which incorporates the GA version of the Recommendations AI funtionalities. To enable Retail API, please visit https://console.cloud.google.com/apis/library/retail.googleapis.com. The Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.
This page contains information about getting started with the Recommendations AI (Beta) using the Google API Client Library for Java. In addition, you may be interested in the following documentation:
- Browse the Javadoc reference for the Recommendations AI (Beta)
- Read the Developer's Guide for the Google API Client Library for Java.
- Interact with this API in your browser using the APIs Explorer for the Recommendations AI (Beta)
Add the following lines to your pom.xml
file:
<project>
<dependencies>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-recommendationengine</artifactId>
<version>v1beta1-rev20230810-2.0.0</version>
</dependency>
</dependencies>
</project>
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-recommendationengine:v1beta1-rev20230810-2.0.0'
}