This page provides reference documentation and related resources for the Dialogflow Java client library.
|Library reference||Dialogflow Java library reference|
|Language guide||General guide for using Java with GCP|
|GitHub repository||Source code and additional documentation for this library|
|Quickstart||Introduction to using this library|
|Stack Overflow||Questions tagged with Dialogflow and Java|
To install the client library:
<dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-dialogflow-cx</artifactId> <version>0.10.1</version> </dependency>
If you are using Gradle, add the following to your dependencies:
If you are using sbt, add the following to your dependencies:
libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.10.1"
If you're using Visual Studio Code, IntelliJ, or Eclipse, you can add client libraries to your project using the following IDE plugins:
The plugins provide additional functionality, such as key management for service accounts. Refer to each plugin's documentation for details.
V3Beta1 client library
Dialogflow's V3Beta1 API offers new features that are not yet available with the V3 API. To use the V3Beta1 client library, specify the V3Beta1 API in your code by using the following import statement: