View Conversations.md

Code Samples with step-by-step instructions

  • NearBY - A swift iOS app for finding the best places NearBY with kitura backend API, Bluemix Mobile and Watson Services.
  • WatBot - An Android ChatBot powered by IBM Watson and using Conversation Service on IBM Bluemix.
  • Cloud Co Insurance - The application showcases cognitive and cloud computing ideas in the context of insurance. https://cloudco.mybluemix.net/
  • Conversation Simple - A simple sample application demonstrating the conversation api.
  • Conversation Enhanced - This application demonstrates the combination of the IBM Watson Conversation and Retrieve and Rank services.

Other Code Samples

View Cloudant_NodeJS_Local_Connection.md

Prereqs

npm install dotenv 

Cloudant (DB)

Before querying the cloudant db, Create a cloudant DB and follow the steps below, create a .env file with your Cloudant credentials in the root directory.

 cloudant_username=myaccount # Replace myaccount with your account name
 cloudant_password='secret'  # Replace secret with your password
View MainActivity.cs
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
//MQA references
using Com.Ibm.Mqa.Config;
View Metadata.xml
<metadata>
<!--
This sample removes the class: android.support.v4.content.AsyncTaskLoader.LoadTask:
<remove-node path="/api/package[@name='android.support.v4.content']/class[@name='AsyncTaskLoader.LoadTask']" />
This sample removes the method: android.support.v4.content.CursorLoader.loadInBackground:
<remove-node path="/api/package[@name='android.support.v4.content']/class[@name='CursorLoader']/method[@name='loadInBackground']" />
-->
<remove-node path="/api/package[@name='ext.com.google.inject.spi']/class[@name='InjectionPoint.Factory.1']"/>
View IBM-Bluemix-Setup.html
IBM Bluemix setup for using Watson and Cloudant services
View XamarinSetup.html
Xamarin Setup and Installation Guide