{"id":21145544,"url":"https://github.com/codemillmatt/bots","last_synced_at":"2025-03-14T13:42:49.186Z","repository":{"id":89789352,"uuid":"70330621","full_name":"codemillmatt/bots","owner":"codemillmatt","description":"Repo for talk on Microsoft's bot framework","archived":false,"fork":false,"pushed_at":"2017-03-02T19:12:50.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T07:27:46.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codemillmatt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-08T12:46:25.000Z","updated_at":"2016-12-02T04:06:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"295b2e52-039f-4eee-9084-b0341cc45b41","html_url":"https://github.com/codemillmatt/bots","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemillmatt%2Fbots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemillmatt%2Fbots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemillmatt%2Fbots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemillmatt%2Fbots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemillmatt","download_url":"https://codeload.github.com/codemillmatt/bots/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243589272,"owners_count":20315467,"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":[],"created_at":"2024-11-20T08:41:40.385Z","updated_at":"2025-03-14T13:42:48.933Z","avatar_url":"https://github.com/codemillmatt.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# I, For One, Welcome Our New Bot Overloads\nRepo for talk on Microsoft's Bot Framework as given at [Prairie.Code() on Oct 28, 2016](http://prairiecode.amegala.com/sessions/i-for-one-welcome-our-new-bot-overlords---an-intro-to-microsofts-bot-framework) and [CenWI Dev UG on Dec 1, 2016](https://www.meetup.com/Central-WI-Developers-Group/events/235137188/).\n\nA blog post on the [Bot Framework can be found here](https://codemilltech.com/bots-they-talk-amongst-us-microsoft-bot-framework-explained/)\n\n## Demo 1 - Simple Weather Bot\n * Simple example of having a bot get the weather for a particular city.\n * The bot needs to be mentioned in order for it to \"do its work\"\n * It is possible that many results could be returned by the geo service\n * At first the bot takes the first result to get the weather\n * Then to prompt the user as to which city to get the weather for, a hero card is created and sent back as an attachment. However, it becomes difficult to handle all the requests (hero card and \"first time\" requests).\n \n## Demo 2 - IDialogs and IDialogContexts\n * Extend the first example, but this time using IDialogs to show how a conversation and be suspended and then resumed.\n * More intelligent conversations can now occur because dialogs encapsulate smaller portions of an overall flow of a larger bot.\n \n## Geo and Weather Service Setup\n For both services, some additional steps are necessary in order to contact the Google geocoding and DarkSky APIs.\n\n1. Go here: https://developers.google.com/maps/documentation/geocoding/get-api-key to get a Google Maps API key. Enter that key on line 18 of GeoService.cs\n\n1. Go to https://darksky.net/dev/ and register for an account and get an API key from them as well. Enter that on line 59 of WeatherService.cs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemillmatt%2Fbots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemillmatt%2Fbots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemillmatt%2Fbots/lists"}