Aktionen

Chatbots: Unterschied zwischen den Versionen

Aus exmediawiki

 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
[[AI@exLabIII|Seminar]], '''09.01.2020'''
 
[[Datei:TbKAF1l.gif]]
 
[[Datei:TbKAF1l.gif]]
= chatbotlinks =
+
= chatbots =
  
 
detailled explaination:
 
detailled explaination:
  
 
https://medium.com/@BhashkarKunal/conversational-ai-chatbot-using-deep-learning-how-bi-directional-lstm-machine-reading-38dc5cf5a5a3
 
https://medium.com/@BhashkarKunal/conversational-ai-chatbot-using-deep-learning-how-bi-directional-lstm-machine-reading-38dc5cf5a5a3
 
+
----
 
+
==(alte linksammlung)==
 
+
* https://bdtechtalks.com/2017/08/21/rob-high-ibm-watson-cto-artificial-intelligence-chatbots/
== on python ==
+
* https://chatbotsmagazine.com/contextual-chat-bots-with-tensorflow-4391749d0077
 
+
** Jupyter Notebook: https://github.com/ugik/notebooks/blob/master/Tensorflow%20chat-bot%20model.ipynb
 
+
* Facebook-Messenger-Bot: https://dzone.com/articles/how-i-used-deep-learning-to-train-a-chatbot-to-tal
 +
** Git-Repo: https://github.com/adeshpande3/Facebook-Messenger-Bot
 +
* https://tutorials.botsfloor.com/how-to-build-your-first-chatbot-c84495d4622d
 +
** Jupyter Notebooks: https://github.com/suriyadeepan/practical_seq2seq
 
-----
 
-----
  
=== chatbotAI ===
+
== chatbotAI ==
  
 
==== examples ====
 
==== examples ====
Zeile 23: Zeile 27:
 
https://chatbotslife.com/how-to-create-your-own-facebook-messenger-chatbot-right-now-a7605f2f31ef
 
https://chatbotslife.com/how-to-create-your-own-facebook-messenger-chatbot-right-now-a7605f2f31ef
  
 +
----
  
 +
==NLTK-chatbot==
 +
https://github.com/PrasannaNatarajan/Context-Aware_Chatbot/blob/master/Context-Aware_chatbot.ipynb
  
  
 
-----
 
-----
  
=== NLTK-chatbot ===
+
== chatterbot ==
 
 
todo:
 
 
 
flask?
 
 
 
messenger: FB-account
 
 
 
chatterbot explained
 
 
 
 
 
-----
 
 
 
=== chatterbot ===
 
  
 
https://github.com/gunthercox/ChatterBot
 
https://github.com/gunthercox/ChatterBot
Zeile 61: Zeile 55:
 
https://dev.to/sahilrajput/build-your-first-chatbot-in-5-minutes--15e3
 
https://dev.to/sahilrajput/build-your-first-chatbot-in-5-minutes--15e3
  
==== SMS: ====
+
===== SMS: =====
  
 
https://chatbotslife.com/how-to-create-an-intelligent-chatbot-in-python-c655eb39d6b1
 
https://chatbotslife.com/how-to-create-an-intelligent-chatbot-in-python-c655eb39d6b1
Zeile 70: Zeile 64:
  
 
===== web: =====
 
===== web: =====
 +
 +
'''How create Chatbot in Few minutes Using Python or Flask: https://mc.ai/how-create-chatbot-in-few-minutes-using-python-or-flask/'''
  
 
https://www.edureka.co/blog/how-to-make-a-chatbot-in-python/
 
https://www.edureka.co/blog/how-to-make-a-chatbot-in-python/
Zeile 78: Zeile 74:
  
 
with python-google-search: https://towardsdatascience.com/build-a-simple-chatbot-with-python-and-google-search-c000aa3f73f0
 
with python-google-search: https://towardsdatascience.com/build-a-simple-chatbot-with-python-and-google-search-c000aa3f73f0
 
 
  
 
===== code-snippets: =====
 
===== code-snippets: =====
Zeile 106: Zeile 100:
 
===== insert string on the begining of each n line  =====
 
===== insert string on the begining of each n line  =====
  
<blockquote><pre class="shell">sed '0~2 s/^/string /g' &lt; input.file`</pre></blockquote>
+
<code>sed '0~2 s/^/string /g' &lt; input.file`</code>
 
* <code>0~2</code> jede zweite zeile definieren
 
* <code>0~2</code> jede zweite zeile definieren
 
* <code>s</code> zeichen ersetzen (in diesem konkreten sinne ''einfügen'')
 
* <code>s</code> zeichen ersetzen (in diesem konkreten sinne ''einfügen'')
Zeile 115: Zeile 109:
 
====== save it in file ======
 
====== save it in file ======
  
<blockquote><pre class="shell">sed -i'0~2 s/^/string /g' input.file</pre></blockquote>
+
<code>sed -i'0~2 s/^/string /g' input.file</code>
  
  
 
===== if z.b. Fragezeichen in der zeile insert string on beginning of line =====
 
===== if z.b. Fragezeichen in der zeile insert string on beginning of line =====
  
<blockquote><pre class="shell">sed -n '/?/{s/^/string /; p}' input.file</pre></blockquote>
+
<code>sed -n '/?/{s/^/string /; p}' input.file</code>
 
* <code>-n</code> keine zeilen <code>printen</code> außer wir definieren diese (siehe <code>p</code>)
 
* <code>-n</code> keine zeilen <code>printen</code> außer wir definieren diese (siehe <code>p</code>)
 
* <code>/?/</code> sucht die zeilen in der die regex <code>?</code> auftaucht
 
* <code>/?/</code> sucht die zeilen in der die regex <code>?</code> auftaucht
Zeile 128: Zeile 122:
 
====== save it in file... ======
 
====== save it in file... ======
  
<blockquote><pre class="shell">sed -n '/?/{s/^/strrrr/; p}' input.file &gt; new.file</pre></blockquote>
+
<code>sed -n '/?/{s/^/strrrr/; p}' input.file &gt; new.file</code>
#####
 
  
 
==== little cheatsheets ''sed'' ====
 
==== little cheatsheets ''sed'' ====
Zeile 137: Zeile 130:
 
https://www.cyberciti.biz/faq/bash-prepend-text-lines-to-file/
 
https://www.cyberciti.biz/faq/bash-prepend-text-lines-to-file/
  
 +
----
  
 +
== tflearn-chatbot ==
  
 +
https://medium.com/oracledevs/say-hello-to-red-samurai-contextual-chatbot-with-tensorflow-deep-neural-network-learning-aa69dd3be04f
  
-----
+
----
 
 
 
 
 
 
 
 
-----
 
  
 
+
== keras-chatbot ==
 
 
== tflearn ==
 
 
 
https://medium.com/oracledevs/say-hello-to-red-samurai-contextual-chatbot-with-tensorflow-deep-neural-network-learning-aa69dd3be04f
 
 
 
== keras ==
 
  
 
https://towardsdatascience.com/deep-learning-for-nlp-creating-a-chatbot-with-keras-da5ca051e051
 
https://towardsdatascience.com/deep-learning-for-nlp-creating-a-chatbot-with-keras-da5ca051e051
 
  
 
-----
 
-----
  
 
+
== FB-messenger-chatbots ==
 
 
== FB  ==
 
  
 
=== howto's ===
 
=== howto's ===
Zeile 168: Zeile 150:
 
https://medium.com/@ferrygunawan/build-facebook-messenger-contextual-chatbot-with-tensorflow-and-keras-4f8cc79438cf
 
https://medium.com/@ferrygunawan/build-facebook-messenger-contextual-chatbot-with-tensorflow-and-keras-4f8cc79438cf
  
==== chatbot talk like me ====
+
=== FB-Zugangsdaten ===
 
 
https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like-Me
 
 
 
https://github.com/adeshpande3/Facebook-Messenger-Bot
 
 
 
 
 
 
 
 
 
 
 
 
 
-----
 
 
 
 
 
 
 
=== Zugangsdaten ===
 
  
 
https://www.gadgetcouncil.com/create-facebook-account/
 
https://www.gadgetcouncil.com/create-facebook-account/
Zeile 193: Zeile 160:
 
UName: Luther Blissett
 
UName: Luther Blissett
  
 +
==== chatbot talk like me ====
  
 +
https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like-Me
  
 +
https://github.com/adeshpande3/Facebook-Messenger-Bot
  
 
-----
 
-----
Zeile 203: Zeile 173:
  
 
https://shanebarker.com/blog/best-ai-chatbot/
 
https://shanebarker.com/blog/best-ai-chatbot/
 
  
 
-----
 
-----
Zeile 216: Zeile 185:
  
  
 
+
=== sentiment analysis & chatbots ===
=== sentiment analysis ===
 
  
 
https://spicefactory.co/blog/2017/11/29/a-gentle-dive-into-nlp-sentiment-analysis-and-chatbots/
 
https://spicefactory.co/blog/2017/11/29/a-gentle-dive-into-nlp-sentiment-analysis-and-chatbots/
  
 
  https://spicefactory.co/blog/2016/10/10/how-to-design-build-chat-bots-people-will-love/
 
  https://spicefactory.co/blog/2016/10/10/how-to-design-build-chat-bots-people-will-love/
 
  
 
-----
 
-----
 
 
  
 
== unser seminarsbot ==
 
== unser seminarsbot ==
 +
<small><code>exMedia_Machines/Seminar_Einführung-in-die-Programmierung-KI/05_14_11_maschinelles-sprechen/'''FDBot.ipynb'''</code></small>
  
https://medium.com/analytics-vidhya/building-a-simple-chatbot-in-python-using-nltk-7c8c8215ac6e
+
<small><code>exMedia_Machines/Seminar_Einführung-in-die-Programmierung-KI/05_14_11_maschinelles-sprechen/'''transbot.ipynb'''</code></small>
 
 
 
 
-----
 
  
 +
[[Datei:bots1.png|500px]][[Datei:bots2.png|500px]]
  
 
-----
 
-----
  
== RASA ==
+
== RASA-chatbot ==
  
 
https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070
 
https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070
  
 
+
= chatbot-Datasets =
 
 
= Datasets =
 
  
 
https://en.wikipedia.org/wiki/List''of''datasets''for''machine-learning_research
 
https://en.wikipedia.org/wiki/List''of''datasets''for''machine-learning_research
Zeile 292: Zeile 254:
  
  
= word2vec =
+
= some NLP-stuff =
  
 
https://rohanvarma.me/Word2Vec/
 
https://rohanvarma.me/Word2Vec/
  
== on twitter ==
+
== Word2Vec on Twitter ==
  
 
https://github.com/loretoparisi/word2vec-twitter
 
https://github.com/loretoparisi/word2vec-twitter
Zeile 304: Zeile 266:
  
  
= Books: =
+
= Books about chatbot-coding =
  
 
Building chatbots with python:
 
Building chatbots with python:
Zeile 318: Zeile 280:
  
  
== conda ==
+
== conda (create environement, the fast way)==
  
 
https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf
 
https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf
  
conda -n chatbot python=3.6
+
<code>conda -n chatbot python=3.6</code>
 +
 
  
conda create --name chatbot python=3.4
+
<code>conda create --name chatbot python=3.4</code>

Aktuelle Version vom 6. Juli 2020, 12:21 Uhr

Seminar, 09.01.2020 TbKAF1l.gif

chatbots

detailled explaination:

https://medium.com/@BhashkarKunal/conversational-ai-chatbot-using-deep-learning-how-bi-directional-lstm-machine-reading-38dc5cf5a5a3


(alte linksammlung)


chatbotAI

examples

https://github.com/ahmadfaizalbh/Chatbot << https://pypi.org/project/chatbotAI/

[to build a bot.ipynb|https://github.com/ahmadfaizalbh/Meetup-Resources/blob/master/How%20to%20build%20a%20bot.ipynb]

https://chatbotslife.com/how-to-create-your-own-facebook-messenger-chatbot-right-now-a7605f2f31ef


NLTK-chatbot

https://github.com/PrasannaNatarajan/Context-Aware_Chatbot/blob/master/Context-Aware_chatbot.ipynb



chatterbot

https://github.com/gunthercox/ChatterBot

multilingual

einfach trainier- und erweiterbar


chatterbot-docs:

https://www.tutorialdocs.com/tutorial/chatterbot/simple-example.html

https://chatterbot.readthedocs.io/en/latest/setup.html

examples/howtos

https://dev.to/sahilrajput/build-your-first-chatbot-in-5-minutes--15e3

SMS:

https://chatbotslife.com/how-to-create-an-intelligent-chatbot-in-python-c655eb39d6b1

voice:

https://github.com/gunthercox/chatterbot-voice

web:

How create Chatbot in Few minutes Using Python or Flask: https://mc.ai/how-create-chatbot-in-few-minutes-using-python-or-flask/

https://www.edureka.co/blog/how-to-make-a-chatbot-in-python/

https://github.com/chamkank/flask-chatterbot

https://dev.to/sahilrajput/build-a-chatbot-using-flask-in-5-minutes-574i

with python-google-search: https://towardsdatascience.com/build-a-simple-chatbot-with-python-and-google-search-c000aa3f73f0

code-snippets:

https://www.programcreek.com/python/example/105342/chatterbot.ChatBot

training-data

https://github.com/gunthercox/chatterbot-corpus

https://github.com/gunthercox/chatterbot-corpus/tree/master/chatterbot_corpus/data/english

https://www.kaggle.com/kausr25/chatterbotenglish

https://github.com/shubham0204/DatasetArchives/blob/master/chatbotnlp.zip?raw=true
errors

OSError: [E050] Can't find model 'en'.

python -m spacy download en


text preprocessing (.yml file)

insert string on the begining of each n line

sed '0~2 s/^/string /g' < input.file`

  • 0~2 jede zweite zeile definieren
  • s zeichen ersetzen (in diesem konkreten sinne einfügen)
  • /^/ zeilenanfang definieren
  • /string/ string der eingefügt werden soll
  • /g steht für global
save it in file

sed -i'0~2 s/^/string /g' input.file


if z.b. Fragezeichen in der zeile insert string on beginning of line

sed -n '/?/{s/^/string /; p}' input.file

  • -n keine zeilen printen außer wir definieren diese (siehe p)
  • /?/ sucht die zeilen in der die regex ? auftaucht
  • s/^/string /; siehe oben
  • p print
save it in file...

sed -n '/?/{s/^/strrrr/; p}' input.file > new.file

little cheatsheets sed

https://wiki.ubuntuusers.de/sed/#Anwendungsbeispiele

https://www.cyberciti.biz/faq/bash-prepend-text-lines-to-file/


tflearn-chatbot

https://medium.com/oracledevs/say-hello-to-red-samurai-contextual-chatbot-with-tensorflow-deep-neural-network-learning-aa69dd3be04f


keras-chatbot

https://towardsdatascience.com/deep-learning-for-nlp-creating-a-chatbot-with-keras-da5ca051e051


FB-messenger-chatbots

howto's

https://medium.com/@ferrygunawan/build-facebook-messenger-contextual-chatbot-with-tensorflow-and-keras-4f8cc79438cf

FB-Zugangsdaten

https://www.gadgetcouncil.com/create-facebook-account/

e-mail: jilot53126@seo-mailer.com

PW: kpiertongga13_

UName: Luther Blissett

chatbot talk like me

https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like-Me

https://github.com/adeshpande3/Facebook-Messenger-Bot

chatbots ready2use

https://www.guru99.com/best-ai-chatbots.html

https://shanebarker.com/blog/best-ai-chatbot/


chatbots-general

https://botwiki.org/resource/tutorial/how-to-make-a-twitter-bot-the-definitive-guide/

https://hackernoon.com/deep-learning-chatbot-everything-you-need-to-know-r11jm30bc

https://dennistroeger.com/chatbot-programmieren/


sentiment analysis & chatbots

https://spicefactory.co/blog/2017/11/29/a-gentle-dive-into-nlp-sentiment-analysis-and-chatbots/

https://spicefactory.co/blog/2016/10/10/how-to-design-build-chat-bots-people-will-love/

unser seminarsbot

exMedia_Machines/Seminar_Einführung-in-die-Programmierung-KI/05_14_11_maschinelles-sprechen/FDBot.ipynb

exMedia_Machines/Seminar_Einführung-in-die-Programmierung-KI/05_14_11_maschinelles-sprechen/transbot.ipynb

Bots1.pngBots2.png


RASA-chatbot

https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070

chatbot-Datasets

https://en.wikipedia.org/wiki/Listofdatasetsformachine-learning_research

https://pathmind.com/wiki/data-for-deep-learning

https://pathmind.com/wiki/open-datasets


ubuntu-dialog: https://github.com/rkadlec/ubuntu-ranking-dataset-creator/tree/master/src

chatbot-talk-like-me/Facebook-Messenger-Bot-master/ubuntu-dialog_training.ipynb


UCI-Repo: https://archive.ics.uci.edu/ml/datasets.php


wiki-text: https://blog.einstein.ai/the-wikitext-long-term-dependency-language-modeling-dataset/


movie-dialogs: https://www.cs.cornell.edu/~cristian/CornellMovie-DialogsCorpus.html

https://www.kaggle.com/datasets?search=chatbot

https://www.kaggle.com/tayorm/chat-corpus-dataset


https://github.com/shubham0204/Dataset_Archives


news: https://newsapi.org/sources







some NLP-stuff

https://rohanvarma.me/Word2Vec/

Word2Vec on Twitter

https://github.com/loretoparisi/word2vec-twitter

https://fredericgodin.com/software/


Books about chatbot-coding

Building chatbots with python:

https://b-ok.cc/book/3642068/da7d8c

https://github.com/Apress/building-chatbots-with-python

Deep Learning with Applications Using Python: Chatbots and Face, Object, and Speech Recognition with Tensorflow and Keras:

https://b-ok.cc/book/3579919/8057f9


conda (create environement, the fast way)

https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf

conda -n chatbot python=3.6


conda create --name chatbot python=3.4