Alexander Hultnér
Founder, Hultnér Technologies (https://hultner.se). Want me to speak at your company? Corporate training? Or just a fresh pair of eyes on your project? Contact me for contracts.
Cetrez is a digital innovation company.
We exist to accelerate our clients’ advantage in their digital journey.
Part of Cetrez Academy
Handle the frequent crashes
#!/usr/bin/env sh
DEFAULT_DOMAIN="$USER-$HOSTNAME"
SUBDOMAIN="${1:-$DEFAULT_DOMAIN}"
# Only lower case alpha numeric characters
# are allowed for lt
SUBDOMAIN=$(echo $SUBDOMAIN | \
tr '[:upper:]' '[:lower:]' | \
tr -cd '[[:alnum:]]')
until lt --port 5000 --subdomain $SUBDOMAIN
do
echo "# Restarting tunnel #"
# Avoid restarts from flooding the CPU
sleep 0.5
done
CONFIG = {
'FACEBOOK_TOKEN': 'pageAccessToken',
'VERIFY_TOKEN': 'validationToken',
'SERVER_URL': 'https://sub.localtunnel.me'
}
{
"appSecret": "…",
"pageAccessToken": "…",
"validationToken": "…",
"serverURL": "https://sub.localtunnel.me"
}
from fuzzywuzzy import fuzz, process
# …
process.extractOne(
text,
special_keywords.keys()
)
Make your bot's chat interface feel more natural, don't confuse your user.
Exemplar: Kilian Valkhof
A Messenger Adventure
Game loop
Natural delays make gives your bot depth
Guide the user towards known functions
Your users will send stickers to your bot
Use templates to enable richer content replies
Train your own models
NLP/NLU as a Service
By Alexander Hultnér
A part of Hack The Castle 2018
Founder, Hultnér Technologies (https://hultner.se). Want me to speak at your company? Corporate training? Or just a fresh pair of eyes on your project? Contact me for contracts.