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