Using Golang with Api.ai Artificial Intelligence service

Part 2 — In this article, we will try out their /tts service. In part 1 of this series we explored their /query service. Here, we will explore their/tts service which takes text and returns the generated speech (as an audio WAV file). I have created a folder “apiai” which will hold the Go source code “apiaifile.go”. … Continue reading Using Golang with Api.ai Artificial Intelligence service

Using Golang with Api.ai Artificial Intelligence service

Part 1 — In this article, we will try out their /query service. Api.ai is a service which provides a nice combination of both voice recognition and machine learning for developers. We shall use their free tier. Api.ai has “Domains”. Domains are a whole collection of knowledge and data structures from Api.ai that are ready for use … Continue reading Using Golang with Api.ai Artificial Intelligence service

Use Go and Clarifai API to Recognize NSFW Images

The ‘Not Safe For Work’ (NSFW) model analyzes images and videos and returns probability scores on the likelihood that the image or video contains pornography. For those of you who don’t know what NSFW is, we’re talking about Not Safe For Work. R-rated content. Stuff that would probably get you fired if you were looking … Continue reading Use Go and Clarifai API to Recognize NSFW Images

Rails, ElasticSearch and Go – merry go round

It all starts with a Rails application - business as usual. In one particular situation, we need to upload some complex excel sheet and update ElasticSearch with over 10k entries. The initial code was written in Ruby and run via sidekiq jobs but was taking about 28minutes to update the index! This was a bottle … Continue reading Rails, ElasticSearch and Go – merry go round

A Fun, Weather Forecast Go Web App

We shall build a fun Go app that accepts city names from a user and displays the current weather forecast in those cities, to the user. In a previous article we learned how to use The Google Geocoding API in Go. Here too, we shall use Geocoding to help us convert addresses (like "1600 Amphitheatre … Continue reading A Fun, Weather Forecast Go Web App

Learn to build and deploy simple Go Web Apps, Part Four

In part one of this tutorial, we installed the Google App Engine SDK and then built and ran a simple web app locally. In part two, we deployed this simple web app to the Google App Engine and shared it with users worldwide. In part three, we learned about package template (namely text/template and html/template). … Continue reading Learn to build and deploy simple Go Web Apps, Part Four