GithubHelp home page GithubHelp logo

No wit.init() about pywit HOT 10 CLOSED

wit-ai avatar wit-ai commented on July 30, 2024
No wit.init()

from pywit.

Comments (10)

rmeertens avatar rmeertens commented on July 30, 2024 1

Cool. Any chance of getting an offline Wit interpreter in the future? (downloading your trained intents, and saving everything for upload later)

from pywit.

rmeertens avatar rmeertens commented on July 30, 2024

Could it be that the version on pip is NOT the official wit-ai library?
I was able to build it from source, although it took more steps than I liked (had to manually download and rename the lib file and move it to the right folder).
Maybe it would be a good idea to create an install script or create a copy-paste commands procedure on the website specifically for ubuntu etc.

from pywit.

blandinw avatar blandinw commented on July 30, 2024

Hey Roland, it looks like the version on PyPi is the same as on the repo (https://pypi.python.org/pypi/wit/1.1).
I'm not knowledgeable in Python packaging, especially modules written in C.
We'll gladly accept a pull request if you find the time to look at it.

from pywit.

rmeertens avatar rmeertens commented on July 30, 2024

Are you sure? What do you see if you run the following in python:
import wit
dir(wit)

For me the whole init function is missing (also missing in the unofficial library, hence my fast conclusion)

from pywit.

andreimarcu avatar andreimarcu commented on July 30, 2024

Hi @rmeertens, is the file you're working on named wit.py by any chance?
I just installed pywit from pip and I haven't had that issue.

from pywit.

walchko avatar walchko commented on July 30, 2024

Make sure you installed wit using:

pip install wit

and not

pip install pywit

The confusing part is the official directions say Let’s install the pywit package! Which is the wrong package and doesn't have a wit.init() ... it confused me until I noticed the command line to the right of this sentence said pip install wit and not pywit.

Since pywit is still in pip, I strongly suggest you remove reference to it in the documentation so people don't get confused (like me).

from pywit.

blandinw avatar blandinw commented on July 30, 2024

We moved away from audio recording and streaming because:

  • many people only needed access to the HTTP API, and audio recording did not make sense for server-side use cases
  • dependent on platform, choice best left to developers
  • forced us to maintain native bindings as opposed to a pure Pythonic library

from pywit.

rmeertens avatar rmeertens commented on July 30, 2024

So... how to turn speech into actionable data?

from pywit.

blandinw avatar blandinw commented on July 30, 2024

We now expect the developer to pick the best audio recording library for their platform and stream it to POST /speech (https://wit.ai/docs/http/20141022#get-intent-via-speech-link).

from pywit.

Sultan91 avatar Sultan91 commented on July 30, 2024

Could update info about speech recognition, is post audio file function is working?

from pywit.

Related Issues (20)

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.