GithubHelp home page GithubHelp logo

Unable to run quickstart.py about pywit HOT 10 CLOSED

wit-ai avatar wit-ai commented on July 30, 2024
Unable to run quickstart.py

from pywit.

Comments (10)

 avatar commented on July 30, 2024

Hi adavanisanti, I tried to used it too but had the same issue, this is because it return two arguments, in fact you have to add an other in your function like that
def get_forecast(context, entities ):
To get directly the context and the entities
Don't forget to adapt the code of your functions with the new parameters :)

from pywit.

RML-Admin avatar RML-Admin commented on July 30, 2024

Thanks @waylander47. I tried with two arguments too but I don't get empty entities and a UUID for context.

I got it working with HTTP APIs and Python requests.

from pywit.

 avatar commented on July 30, 2024

Hi I have the same problem with pywit, my entities are empty and my context is an uuid.
Does someone know why ?

from pywit.

datatec24 avatar datatec24 commented on July 30, 2024

Hi,
I have the same problem as you guys.
But i don"t get how to resolve it, could you please detail a little bit?
Thanks.

from pywit.

 avatar commented on July 30, 2024

Hi @datatec24 ,
I'm waiting for the pywit team's answer.
For the moment I'm using this python package https://github.com/lextoumbourou/PyWit but you can also directcly use the http api.

from pywit.

patapizza avatar patapizza commented on July 30, 2024

Hi @datatec24 @adavanisanti @waylander47,

Do you guys still experience the issue?

from pywit.

Sultan91 avatar Sultan91 commented on July 30, 2024

Yes

from pywit.

Sultan91 avatar Sultan91 commented on July 30, 2024

@waylander47 I've tried https://github.com/lextoumbourou/PyWit examples but it gives no response. Is this repo is still working?

from pywit.

patapizza avatar patapizza commented on July 30, 2024

@Sultan91 This repository is https://github.com/wit-ai/pywit. Does the quickstart of this repository work for you?

from pywit.

Sultan91 avatar Sultan91 commented on July 30, 2024

Original version of PyWit is newer one, little bit different. I've also tried but could not figure out why it's not 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.