View aspect.js
function getRandomInt(min, max) { | |
let sign = Math.random() < 0.5 ? -1 : 1; | |
min = Math.ceil(min); | |
max = Math.floor(max); | |
return (Math.floor(Math.random() * (max - min + 1)) + min) * sign; | |
} | |
function getNewHeight(oldWidth, oldHeight, newWidth) { | |
const aspectRatio = (oldWidth / oldHeight); | |
const newHeight = (newWidth / aspectRatio); |
View basic_data_intent_sample.json
{ | |
"responseId":"xxxxx-xxx-xx-xxx-xxxxx-xxxxxxx", | |
"queryResult":{ | |
"queryText":"Image of pikachu", | |
"parameters":{ | |
"specs":"photo", | |
"pokemon":"Pikachu" | |
}, | |
"allRequiredParamsPresent":true, | |
"fulfillmentText":"pikachu", |
View get_type_effectiveness_intent_sample_request.json
{ | |
"responseId":"xxxx-xxx-xxx-xx-xxxxxx-xxxxx", | |
"queryResult":{ | |
"queryText":"What is super effective against ice type?", | |
"parameters":{ | |
"pokemon_types":"ice", | |
"type_effectiveness":"double_damage_from" | |
}, | |
"allRequiredParamsPresent":true, | |
"fulfillmentMessages":[ |
View training phrases for get_type_effectiveness intent
what is strong against electric type? | |
what is weak against ground type? | |
what is rock type super effective against? | |
what is super effective against dragon type? | |
what is ground type no effect against? | |
what has no effect against ground type? | |
what has half damage against fire type? | |
what fire type has half damage to? | |
what bird type has double damage to? | |
what has double damage against fighting type? |
View training phrases for evolution intent
what came before mew? | |
what's next after vulpix | |
what comes after machoke | |
tentacool evolves to | |
machamp evolves from | |
what does bayleef evolve from? | |
evolutions of charmander | |
third form of bulbasaur | |
second form of kabuto | |
first form of golem? |
View training phrases of basic_data intent
image of pokemon | |
pokemon image | |
photo of meowth | |
what are the abilities of hitmonlee | |
tell me about pokemon | |
what's the description of pokemon | |
what are the moves of pokemon |
View pokemon.csv
Abomasnow | Abomasnow | |
---|---|---|
Abra | Abra | |
Absol | Absol | |
Accelgor | Accelgor | |
Aerodactyl | Aerodactyl | |
Aggron | Aggron | |
Aipom | Aipom | |
Alakazam | Alakazam | |
Alomomola | Alomomola | |
Altaria | Altaria |
View pokemon_types.csv
bug | bug | |
---|---|---|
dark | dark | |
dragon | dragon | |
electric | electric | |
fairy | fairy | |
fighting | fighting | |
fire | fire | |
flying | flying | |
ghost | ghost | |
grass | grass |
View evolutions.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 4 columns, instead of 5. in line 1.
"evolution_chain","evolution chain","evolution_chain","evolutions of" | |
"first_evolution","1st evolution","first evolution","first_evolution","second form" | |
"last_evolution","2nd evolution","final evolution","last evolution","last_evolution","second evolution","third form" | |
"next_form","came after","comes after","comes next","evolves to","next evolution","next form","next_form" | |
"previous_form","came before","comes before","evolves from","previous form","previous_form" |
View type_effectiveness.csv
double_damage_from | double damage from | double_damage_from | super effective against | super effective to | very effective against | weakness of | |
---|---|---|---|---|---|---|---|
double_damage_to | double damage against | double damage to | double_damage_to | strong against | |||
half_damage_from | half damage from | half_damage_from | not so effective against | not very effective against | not very effective to | ||
half_damage_to | half damage against | half damage to | half_damage_to | ||||
no_damage_from | no damage against | no damage from | no effect against | no_damage_from | resistant against | resistant to | |
no_damage_to | has no damage to | has zero damage to | no effect to | no_damage_to |
NewerOlder