Giter Club home page Giter Club logo

hisanta.ai's People

Contributors

benlower avatar farzadab avatar juberti avatar lipatrick avatar mdwelsh avatar zkoch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hisanta.ai's Issues

Sometimes call never transitions out of "idle" state

After creating a VoiceSession and calling ".start()" on it, sometimes we never get a message saying that the session has transitioned from "idle" to "thinking" state. Hence the call is hung and we never get a welcome message from the agent.

Related: If we .stop() the session when it's in this state and call .start() again, it looks like it never tries to reconnect (either to the websocket or the room). So there is a client-side bug there (which I will fix).

Final punchlist

  • TTS token shortage
  • Footer -- Learn More (blog post), Fixie Voice (fixie.ai/voice), We're hiring, Discord
  • Bad Elfie
  • Bad Mrs. Claus
  • Blog post tightening
  • Open source this repo
  • Too many concurrent requests -- speedbump (e.g., numrings)
  • Scrub shit (matt)
  • Fixie.ai/voice tightening
  • PH -- Zach to re-create, schedule for 12:01am
  • Email to friends + family tomorrow
  • LinkedIn / Twitter posts from everyone in AM
  • Grab wake lock to prevent going to sleep (matt)
  • Thumbs up / down (conversation ID)
  • Bump NPM package for fixie sdk

Better error handling and retries

We need to do a better job on the client at dealing with various kinds of errors and timeouts.

  • If a conversation never gets started after calling .start(), we should proactively stop it and reconnect. This would be a workaround for #25.

  • If the Websocket connection fails, we need to deal with that and retry a few times, showing an error page if the error is persistent. The challenge here is that this is currently managed internally by the VoiceSession and the app does not have visibility into the connection state. We should migrate .warmup() out of the constructor so it can use the onerror signal that the client sets up for this, be sure we're catching errors on .warmup() and calling .onerror when they do happen, and probably also expose the connection state (not just the live conversation state) as part of the VoiceSession.state field.

  • CallCharacter should transition to an error page if it gets an error and retries aren't working.

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.