Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Go library for DialogFlow (API.AI) 😎

License

NotificationsYou must be signed in to change notification settings

mlabouardy/dialogflow-go-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCILicenseGo Report Card

This library allows integrating agents from theDialogFlow natural language processing service with your Golang application.

Prerequsites

Create anDialogFlow account.

Installation

go get github.com/mlabouardy/dialogflow-go-client

Features

  • Queries
  • Contexts
  • Intents
  • UserIntents
  • Entities

Usage

  • Createmain.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 inexamples directory.

Tutorials

Documentation

Documentation is available athttps://dialogflow.com/docs.

About

Go library for DialogFlow (API.AI) 😎

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp