Animatronic AI: Story Generator

Generates a story from a curated corpus I host on aws – heavily tilted to favor a certain 1974 Japanese cartoon – along with other stuff πŸ€”.

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)
}