Skip to content

yangboz/ChatBotsMessager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatBotsMessager

With Emotional Artificial Intelligence Chat Bots Chatting!

AppStore

https://itunes.apple.com/us/app/aichatbot/id879922550?l=zh&ls=1&mt=8

V1.0

Screenshot of master view Screenshot of detail view

V1.1

V1.2

I guess that might sound a little bit strange for some people, considering the fact that music is often referred to as “emotional” and something “to feel”, not something “factual” or “mathematical”, but machine learning makes it possible.

Reference: https://medium.com/towards-data-science/deep-learning-with-tensorflow-part-3-music-and-text-generation-8a3fbfdc5e9b

API

http://www.personalityforge.com/bookofapi.php

Emoticons

http://messenger.yahoo.com/features/emoticons/

Hash-based message authentication code

TODO:

#1.Crash fix up by using tableview chat components; Root cause: The api key's amount from "personalityforge.com" out of range.

#2.API key/secret prereference provider solution;

http://en.wikipedia.org/wiki/HMAC

hash_hmac

https://gist.github.com/yangboz/77fffef6b6d4fe16b144

Raw response string



Correct parameters and objects received
raw message: {"message":{"message":"New","timestamp":1364048112,"chatBotID":6},"user":{"gender":"m","lastName":"Sufani","firstName":"Tugger","externalID":"abc-639184572"}}
apiSecret: XXXXXYYYYYYZZZZZ
Do the following two match?
f64a537885513777ccb620a54530f700ebc9020adc5c19b326bff2f58598cfd9
f64a537885513777ccb620a54530f700ebc9020adc5c19b326bff2f58598cfd9
CORRECT MATCH!

Array
(
[message] => Array
(
[message] => New
[timestamp] => 1364048112
[chatBotID] => 6
)

[user] => Array
    (
        [gender] => m
        [lastName] => Sufani
        [firstName] => Tugger
        [externalID] => abc-639184572
    )

)

sent on Sat, 23 Mar 2013 10:15:12 am
1 seconds ago. (limit is 300)
{"success":1,"errorMessage":"","

TODO List

1.Preference implementation;(TBC)

2.Emotional presentation;(normal, happy, angry, averse, sad, evil, fuming, hurt, surprised, insulted, confused, amused, asking)

3.Icon assets file; (Done!including app lanuch images);

4.Testing and bug-issues fixing; (More on chat view)

5.Submit to Apple AppStore and inform Benji; (Done)

6.Vivid virtual chat character;(By Joanna) ....

Backlog

http://www.codeproject.com/Articles/689451/Developing-Android-Applications-with-Voice-Recogni

(!!!Talk to dophi!!!)https://www.goodreads.com/book/show/17803169-are-dolphins-really-smart

(Adobe Character Animator CC) https://helpx.adobe.com/adobe-character-animator/using/behavior.html

Support on Beerpay

Hey dude! Help me out for a couple of 🍻!

Beerpay Beerpay