Chatbots: Unterschied zwischen den Versionen
Aus exmediawiki
C.heck (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Datei:TbKAF1l.gif“) |
C.heck (Diskussion | Beiträge) (→web:) |
||
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
+ | [[AI@exLabIII|Seminar]], '''09.01.2020''' | ||
[[Datei:TbKAF1l.gif]] | [[Datei:TbKAF1l.gif]] | ||
+ | = chatbots = | ||
+ | |||
+ | detailled explaination: | ||
+ | |||
+ | 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 | ||
+ | ----- | ||
+ | |||
+ | == chatbotAI == | ||
+ | |||
+ | ==== examples ==== | ||
+ | |||
+ | https://github.com/ahmadfaizalbh/Chatbot << https://pypi.org/project/chatbotAI/ | ||
+ | |||
+ | [[https://github.com/ahmadfaizalbh/Meetup-Resources/blob/master/How 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/Dataset''Archives/blob/master/chatbot''nlp.zip?raw=true | ||
+ | |||
+ | ===== errors ===== | ||
+ | |||
+ | OSError: [E050] Can't find model 'en'. | ||
+ | |||
+ | <blockquote><source lang="python">python -m spacy download en</source></blockquote> | ||
+ | |||
+ | |||
+ | ==== text preprocessing (.yml file) ==== | ||
+ | |||
+ | ===== insert string on the begining of each n line ===== | ||
+ | |||
+ | <code>sed '0~2 s/^/string /g' < input.file`</code> | ||
+ | * <code>0~2</code> jede zweite zeile definieren | ||
+ | * <code>s</code> zeichen ersetzen (in diesem konkreten sinne ''einfügen'') | ||
+ | * <code>/^/</code> zeilenanfang definieren | ||
+ | * <code>/string/</code> string der eingefügt werden soll | ||
+ | * <code>/g</code> steht für ''global'' | ||
+ | |||
+ | ====== save it in file ====== | ||
+ | |||
+ | <code>sed -i'0~2 s/^/string /g' input.file</code> | ||
+ | |||
+ | |||
+ | ===== if z.b. Fragezeichen in der zeile insert string on beginning of line ===== | ||
+ | |||
+ | <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>/?/</code> sucht die zeilen in der die regex <code>?</code> auftaucht | ||
+ | * <code>s/^/string /;</code> siehe oben | ||
+ | * <code>p</code> print | ||
+ | |||
+ | ====== save it in file... ====== | ||
+ | |||
+ | <code>sed -n '/?/{s/^/strrrr/; p}' input.file > new.file</code> | ||
+ | |||
+ | ==== 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 == | ||
+ | <small><code>exMedia_Machines/Seminar_Einführung-in-die-Programmierung-KI/05_14_11_maschinelles-sprechen/'''FDBot.ipynb'''</code></small> | ||
+ | |||
+ | <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-chatbot == | ||
+ | |||
+ | https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070 | ||
+ | |||
+ | = chatbot-Datasets = | ||
+ | |||
+ | https://en.wikipedia.org/wiki/List''of''datasets''for''machine-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/Cornell''Movie-Dialogs''Corpus.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 | ||
+ | |||
+ | <code>conda -n chatbot python=3.6</code> | ||
+ | |||
+ | |||
+ | <code>conda create --name chatbot python=3.4</code> |
Aktuelle Version vom 6. Juli 2020, 12:21 Uhr
Seminar, 09.01.2020
Inhaltsverzeichnis
- 1 chatbots
- 1.1 (alte linksammlung)
- 1.2 chatbotAI
- 1.3 NLTK-chatbot
- 1.4 chatterbot
- 1.5 tflearn-chatbot
- 1.6 keras-chatbot
- 1.7 FB-messenger-chatbots
- 1.8 chatbots ready2use
- 1.9 chatbots-general
- 1.10 unser seminarsbot
- 1.11 RASA-chatbot
- 2 chatbot-Datasets
- 3 some NLP-stuff
- 4 Books about chatbot-coding
chatbots
detailled explaination:
(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
- Facebook-Messenger-Bot: https://dzone.com/articles/how-i-used-deep-learning-to-train-a-chatbot-to-tal
- https://tutorials.botsfloor.com/how-to-build-your-first-chatbot-c84495d4622d
- Jupyter Notebooks: https://github.com/suriyadeepan/practical_seq2seq
chatbotAI
examples
https://github.com/ahmadfaizalbh/Chatbot << https://pypi.org/project/chatbotAI/
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 definierens
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 zeilenprinten
außer wir definieren diese (siehep
)/?/
sucht die zeilen in der die regex?
auftauchts/^/string /;
siehe obenp
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
keras-chatbot
https://towardsdatascience.com/deep-learning-for-nlp-creating-a-chatbot-with-keras-da5ca051e051
FB-messenger-chatbots
howto's
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
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)
conda -n chatbot python=3.6
conda create --name chatbot python=3.4