This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import pathlib | |
from jinja2 import Environment, FileSystemLoader, select_autoescape | |
env = Environment( | |
loader=FileSystemLoader("images"), | |
autoescape=select_autoescape() | |
) | |
template = env.get_template("instructions.template") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyphen | |
import prodigy | |
from prodigy.components.loaders import JSONL | |
from prodigy.components.db import connect | |
hyphenator = pyphen.Pyphen(lang="en_US") | |
def construct_html(text): | |
hyphend = hyphenator.inserted(text) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Vincent D. Warmerdam", | |
"label": "Senior Data Professional & Research Advocate", | |
"image": "", | |
"email": "[email protected]", | |
"url": "https://koaning.io", | |
"summary": "", | |
"location": { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
intents: | |
- greet | |
- goodbye | |
- affirm | |
- deny | |
- mood_great | |
- mood_unhappy | |
- bot_challenge | |
- give_joke | |
- give_another |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
responses: | |
utter_joke: | |
- text: Are you sure you can handle my jokes? You might laugh your Ash off. | |
- text: Why did the Squirtle cross the road? To get to the other tide! | |
- text: What appears over Ash’s head when he gets an idea? A LightBulbasaur | |
- text: Where did Brock take Nurse Joy for a date? The PokeBall | |
- text: What’s better than one Pikachu? PikaTWO | |
- text: What does Moeowth see when it looks in the mirror? A copy-cat! | |
- text: When does a Gastly eat breakfast? In the moaning. | |
- text: Which Pokemon does Dracula like most? Koffin' |