Coder Social home page Coder Social logo

bebot's People

Contributors

dependabot[bot] avatar diabolical-ninja avatar trent-howard avatar

Stargazers

 avatar

Watchers

 avatar  avatar

bebot's Issues

Create an "unsure" route

When the confidence of wit is low, enter an "unsure" route that provides examples for how to interact with zoot & directs users to more info.

Should also update all existing route to only trigger if the intent confidence is above a certain threshold, eg 75% & if not then the "unsure" route should fire.

Create a "what're you listening to" chat route

It'd be cool to be able to ask zoot for music recommendations, either a song or album (or playlist I suppose). Could probably be done via the Spotify API.

Thoughts:

  • need Spotify profiles to follow to get current plays from & then select either the most recent or something at random
  • could a zoot profile be built? Not sure if that would be of much use/value though

To begin with, something simple could be:
"Yo zoot, what's hip?" Or "aye zooty boy, what're you listening to these days"

Zoot would then return a card with a link to the Spotify album or song.

Facebook Doesn't Accept Responses with >10 Elements

As per facebook docs, there's a limit of 10 elements for generic payload responses. This is causing an issue in two instances:

  1. We have 11 venues in the DB
  2. Instances with >10 gigs returned (not uncommon when returning all gigs for a given day)

image

Possible Solution Approach

It'd still be nice to return all the info, rather than capping the amount of info returned. Thus, can the both send multiple responses in batch sizes of max 10?

The fix is required in list_venues.js & 'whats_on.js` features.

Add β€œhelp” route

Add functionality for users to say "help" or "what can you do", etc, and return some examples.

Might be worth creating a site with the functionality and examples that could be linked to as well.

# Deploy Zoot Bot

To do

[ ] CI/CD for automatic image creation and deployment
[X] containerise BeBot
[X] Figure out cheap but scalable deployment/hosting option for zoot - It's ECS, will trial Fargate

Enable Logging

Use the mongodb back end & log whatever botkit can but ideally it'd be great to know:

  • Timestamp of the request
  • Who made it
  • Wit response
  • Request In
  • Zoot response
  • General logging info

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.