- Notifications
You must be signed in to change notification settings - Fork19
Go library for DialogFlow (API.AI) 😎
License
NotificationsYou must be signed in to change notification settings
mlabouardy/dialogflow-go-client
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This library allows integrating agents from theDialogFlow natural language processing service with your Golang application.
Create anDialogFlow account.
go get github.com/mlabouardy/dialogflow-go-client
- Queries
- Contexts
- Intents
- UserIntents
- Entities
- Create
main.go
file with the following code:
package mainimport ("fmt"."github.com/mlabouardy/dialogflow-go-client"."github.com/mlabouardy/dialogflow-go-client/models""log")funcmain() {err,client:=NewDialogFlowClient(Options{AccessToken:"<API.AI TOKEN GOES HERE>",})iferr!=nil {log.Fatal(err)}entities,err:=client.EntitiesFindAllRequest()iferr!=nil {log.Fatal(err)}for_,entity:=rangeentities {fmt.Println(entity.Name)}}
- Run following command.
go run main.go
- Your can find more examples in
examples
directory.
Documentation is available athttps://dialogflow.com/docs.
About
Go library for DialogFlow (API.AI) 😎
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.