Skip to content

Releases: dialogflow/dialogflow-android-client

v1.9.0 - Removed Subscription Key

30 Mar 11:37
Compare
Choose a tag to compare

Now there is no need to specify subscription_key in configuration.
Also fixed some issues related to Google Speech Recognizer.

v1.8.1 - Fixed bug with 'Ok, Google'

17 Mar 11:11
Compare
Choose a tag to compare

Fixed bug caused by using 'Ok, Google' feature on device. More details here.

v1.8.0 - Android 6 support

09 Mar 12:22
Compare
Choose a tag to compare

Added Android Runtime Permissions Support.
Before each listening the RECORD_AUDIO will be checked. So, you have to add some permission requesting logic to your app, like here.

v1.7.6 - Common SessionId

27 Nov 08:21
Compare
Choose a tag to compare

Now sessionId is permanent for application. So, different instances of AIService uses common sessionId.
Also, made some bug fixes.

v1.7.1 - Add Lifespan property to contexts

14 Oct 09:20
Compare
Choose a tag to compare

This release adds Lifespan property to the AIContext class. Lifespan determines for how many requests context will affect the result.

final AIContext weatherContext = new AIContext("weather");
weatherContext.setParameters(Collections.singletonMap("location", "London"));
weatherContext.setLifespan(2);

v1.7.0 - Input contexts with parameters

07 Oct 09:04
Compare
Choose a tag to compare

From this release you can put some additional parameters to your input contexts, take a look:

final AIContext weatherContext = new AIContext("weather");
weatherContext.setParameters(Collections.singletonMap("location", "London"));

final AIRequest aiRequest = new AIRequest();
aiRequest.setQuery("and for tomorrow");
aiRequest.setContexts(Collections.singletonList(weatherContext));

final AIResponse aiResponse = aiDataService.request(aiRequest);

Also added methods for getting structured parameters from Result object:

public JsonObject getComplexParameter(final String name)
public JsonObject getComplexParameter(final String name, final JsonObject defaultValue)

v1.6.8 - Fixed issues with native Android speech recognition

14 Sep 07:20
Compare
Choose a tag to compare

Fixed issues with native Android/Google speech recognition (errors raised by Google's recognizer right after the start of the recognition).

v1.6.7 API.AI - User Entities for Session

29 Jul 07:25
Compare
Choose a tag to compare

In this release have been introduced option to set up user entities for current session. This entities will be applied for every request in 30 minutes period. After the period you need to reupload entities.

Sample code:

final Entity myDwarfs = new Entity("dwarfs");
myDwarfs.addEntry(new EntityEntry("Ori", new String[]{"Ori", "Nori"}));
myDwarfs.addEntry(new EntityEntry("Bifur", new String[] {"Bofur","Bombur"}));
final AIResponse uploadResult = aiDataService.uploadUserEntity(myDwarfs);

v1.6.6 API.AI - Widget sample

19 Jun 05:43
Compare
Choose a tag to compare

In this release getDialog method was added to the AIDialog class. This allow you to make some special customizations with the dialog.

Also pull request with widget sample was merged to the sample app. See AIWidgetActivity and AISampleAppWidget.

v1.6.5 API.AI - Bluetooth support

05 Jun 07:23
Compare
Choose a tag to compare

This release adds Bluetooth support, for details see documentation.