Skip to content

Latest commit

 

History

History
 
 

dialogflow

Dialogflow: Go samples

Dialogflow samples using the Go client.

Table of contents

Before you begin

  1. If your project does not already have a Dialogflow agent, create one following these instructions.

    (If you want to create an enterprise agent, follow these instructions instead.)

  2. This sample comes with a sample agent which you can use to run the samples. Follow these instructions to import the agent from the Dialogflow console.

    (Warning: Importing the sample agent will add intents and entities to your Dialogflow agent. You may want to use a separate Google Cloud Platform project, or export your existing Dialogflow agent before importing the sample agent.)

Samples

Detect intent

(Text, audio, streaming audio)

Source code

Usage: go run detect_intent/detect_intent.go -help

Intent management

Source code

Usage: go run intent_management/intent_management.go -help

Entity type management

Source code

Usage: go run entity_type_management/entity_type_management.go -help

Entity management

Source code

Usage: go run entity_management/entity_management.go -help

Session entity type management

Source code

Usage: go run session_entity_type_management/session_entity_type_management.go -help