Generates a story from a curated corpus I host on aws β heavily tilted to favor a certain 1974 Japanese cartoon β along with other stuff π€.
Displayed in a web page with fetch
β¦
In a terminal with curl
β¦
# π€ͺ Default gives you just tv shows...
curl -X POST https://6ohunjaa18.execute-api.us-east-2.amazonaws.com/prod/rita
Additional parametersβ¦
# π Restrict to news articles
curl -X POST https://6ohunjaa18.execute-api.us-east-2.amazonaws.com/prod/rita \
-d '{"corpora": ["news"]}'
# π Restrict to tv shows combined with news...
curl -X POST https://6ohunjaa18.execute-api.us-east-2.amazonaws.com/prod/rita \
-d '{"corpora": ["cartoons", "news"]}'
# π€ͺ Restrict to tv shows combined with phd dissertations...
curl -X POST https://6ohunjaa18.execute-api.us-east-2.amazonaws.com/prod/rita \
-d '{"corpora": ["cartoons", "phil"]}'
# ------------------------------------
# Adjustable params...
# ------------------------------------
{
'corpora' Array (default=["cartoons"])
'temperature', integer (default=1)
'story_line_limit', integer (default=25, max=100)
'profanity', Boolean (default=false; locked to false right now)
'nfactor', integer (default=5, max=7)
}