{"id":20432450,"url":"https://github.com/mlabouardy/dialogflow-go-client","last_synced_at":"2025-04-12T20:52:34.169Z","repository":{"id":57494598,"uuid":"98977287","full_name":"mlabouardy/dialogflow-go-client","owner":"mlabouardy","description":"Go library for DialogFlow (API.AI) 😎","archived":false,"fork":false,"pushed_at":"2018-12-18T06:18:40.000Z","size":66,"stargazers_count":79,"open_issues_count":4,"forks_count":20,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-12T20:52:29.383Z","etag":null,"topics":["apiai","bot","dialogflow","golang","machine-learning","sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlabouardy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-01T08:18:44.000Z","updated_at":"2023-09-27T15:11:40.000Z","dependencies_parsed_at":"2022-09-02T19:51:34.556Z","dependency_job_id":null,"html_url":"https://github.com/mlabouardy/dialogflow-go-client","commit_stats":null,"previous_names":["mlabouardy/apiai-go-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabouardy%2Fdialogflow-go-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabouardy%2Fdialogflow-go-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabouardy%2Fdialogflow-go-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabouardy%2Fdialogflow-go-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlabouardy","download_url":"https://codeload.github.com/mlabouardy/dialogflow-go-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631728,"owners_count":21136560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apiai","bot","dialogflow","golang","machine-learning","sdk"],"created_at":"2024-11-15T08:15:15.940Z","updated_at":"2025-04-12T20:52:34.149Z","avatar_url":"https://github.com/mlabouardy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dialogflow-go-client\n\n[![CircleCI](https://circleci.com/gh/mlabouardy/dialogflow-go-client.svg?style=svg)](https://circleci.com/gh/mlabouardy/dialogflow-go-client) [![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0) [![Go Report Card](https://goreportcard.com/badge/github.com/mlabouardy/apiai-go-client)](https://goreportcard.com/report/github.com/mlabouardy/apiai-go-client)\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg src=\"logo.png\" width=\"50%\"/\u003e\n\u003c/div\u003e\n\nThis library allows integrating agents from the [DialogFlow](https://dialogflow.com) natural language processing service with your Golang application.\n\n* [Prerequsites](#prerequsites)\n* [Installation](#installation)\n* [Features](#features)\n* [Usage](#usage)\n* [Documentation](#documentation)\n\n# Prerequsites\n\nCreate an [DialogFlow account](https://dialogflow.com/).\n\n# Installation\n\n```shell\ngo get github.com/mlabouardy/dialogflow-go-client\n```\n\n# Features\n\n* Queries\n* Contexts\n* Intents\n* UserIntents\n* Entities\n\n# Usage\n\n* Create `main.go` file with the following code:\n\n```golang\npackage main\n\nimport (\n\t\"fmt\"\n\t. \"github.com/mlabouardy/dialogflow-go-client\"\n\t. \"github.com/mlabouardy/dialogflow-go-client/models\"\n\t\"log\"\n)\n\nfunc main() {\n\terr, client := NewDialogFlowClient(Options{\n\t\tAccessToken: \"\u003cAPI.AI TOKEN GOES HERE\u003e\",\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tentities, err := client.EntitiesFindAllRequest()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tfor _, entity := range entities {\n\t\tfmt.Println(entity.Name)\n\t}\n}\n```\n* Run following command.\n```shell\ngo run main.go\n```\n* Your can find more examples in [`examples`](examples) directory.\n\n# Tutorials\n\n* [Messenger Bot with DialogFlow \u0026 Golang](http://www.blog.labouardy.com/bot-in-messenger-with-dialogflow-golang/)\n\n# Documentation\n\nDocumentation is available at https://dialogflow.com/docs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabouardy%2Fdialogflow-go-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlabouardy%2Fdialogflow-go-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabouardy%2Fdialogflow-go-client/lists"}