Giter Site home page Giter Site logo

susi_python's Issues

Create a PyPi package

I believe that this repo has good architecture and we also use it as a package (by installing it from the source) for our other repos.

So we might as well create a PyPi package along with some Travis scripts that will make a release on PyPi every time the code updates here.

Other Comments
I would like to work on this.

Timezone consideration for chat

Is it possible for Susi to consider the timezone of the person talking to it? It seems to show only Central European Summer Time (CEST) when asked: "What time is it?".

I'm using sample.py for the chat.

The issue is also reflected here. Susi's response on this web page seems to be very slow too.

Improve the structure of this lib

This is my idea about how it can be improved:

  1. Get rid of global. This is not Pythonic. It may be useful for ad-hoc automation script, but for a serious, well-structured library, uhm, no.

  2. Let accept server URL as input, so that the lib can be used with SUSI server installed anywhere. We have these URLs hardcoded: https://api.susi.ai, http://localhost:4000/, but we should treat them as "default" value. Actually, when we make server URL customizable, we only need 1 default value, either https://api.susi.ai or http://localhost:4000/.

  3. If we can, let's make this lib "sans-IO", i.e, the lib won't do the job of receiving, sending data (over network), it only takes care of parsing, combining data. With this approach, our lib can be used both in synchronous code (where requests is often used for transporting) and asyncio code (where aiohttp is used for transporting). List of sans-io libs as reference: https://github.com/brettcannon/sans-io/blob/master/index.rst

Links not working

Two Links are given in the footer section are not working.
susi

Two of the links, as shown in the image above, are not working: Overview and Blog

Add option to get lyrics for songs

Add functionality to get lyrics for the song name passed as query.
Trigger phrases can be -

  1. Lyrics for <song_name>
  2. Show lyrics for <song_name>
  3. What are lyrics of <song_name>

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.