Aktionen

Chatbots: Unterschied zwischen den Versionen

Aus exmediawiki

 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
[[AI@exLabIII|Seminar]], '''09.01.2020'''
 
[[Datei:TbKAF1l.gif]]
 
[[Datei:TbKAF1l.gif]]
 
= chatbots =
 
= chatbots =
Zeile 5: Zeile 6:
  
 
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/
 +
* 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
 
-----
 
-----
  
Zeile 18: 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
  
  
Zeile 52: 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 60: 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 193: Zeile 205:
  
 
https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070
 
https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070
 
 
  
 
= chatbot-Datasets =
 
= chatbot-Datasets =
Zeile 274: Zeile 284:
 
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
  
<blockquote><pre class="shell">conda -n chatbot python=3.6</pre></blockquote>
+
<code>conda -n chatbot python=3.6</code>
  
  
<blockquote><pre class="shell">conda create --name chatbot python=3.4</pre></blockquote>
+
<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