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/
Library can be installed with Nuget
PM> Install-Package ApiAi
Or can be downloaded as DLL library or sources from the Releases page.
Assumed you already have API.AI account and have at least one agent configured. If no, please see documentation on the API.AI website.
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
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.
- JSON parsing implemented using Json.NET.