Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

NickRimmer/ApiAi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dialogflow (ApiAi)

NuGet version

Dialogflow.com (Api.ai) .NET library with fully documented public methods. More information about natural language processing API on the API.AI website http://dialogflow.com/

How to use

Instalation

Library can be installed with Nuget

PM> Install-Package ApiAi

Or can be downloaded as DLL library or sources from the Releases page.

Usage

Assumed you already have API.AI account and have at least one agent configured. If no, please see documentation on the API.AI website.

Queries

The query endpoint is used to process natural language in the form of text. More inforamtion on the website.

  • ApiAi.QueryService.SendRequest method is simple method to make queries

Entities

The entities endpoint is used to create, retrieve, update, and delete developer-defined entity objects. More information on the website.

  • ApiAi.EntityService.GetEntities method retrieves a list of all entities for the agent

  • ApiAi.EntityService.CreateEntity method for create a new entity

  • ApiAi.EntityService.UpdateEntity method proposed to update the specified entity

  • ApiAi.EntityService.DeleteEntity method for delete the specified entity.

  • ApiAi.EntityService.GetEntries method retrieves the specified entity with its entries

  • ApiAi.EntityService.AddEntries method for adding entries to the specified entity

  • ApiAi.EntityService.UpdateEntries method for updates specified entity entries

  • ApiAi.EntityService.DeleteEntries method delete entity entries

All examples you can find in ApiAi.Tests/MainTests.cs file.

Open Source Project Credits

  • JSON parsing implemented using Json.NET.