Closed diegodeodati closed 5 years ago
That should be your wit.ai token. It's found in your wit.ai settings.
Yes i know but even if i set the token... Dont work
Tue Mar 28-12:48:43-pywit$ python examples/quickstart.py XXXXTOKENXXXXX
Traceback (most recent call last):
File "examples/quickstart.py", line 44, in
Solved on MacOS. you need to use Python3.
sudo pip3 install wit
python3 examples/quickstart.py XXXXTOKENXXXXX
Hi Guys, can anyone can help me?
This is my code that generate "got an unexpected keyword argument 'access_token'"
from wit import Wit
access_token = 'TOKEN'
def send(request, response): print request['text'] print('Sending to user...', response['text'])
actions = { 'send': send }
client = Wit(access_token=access_token, actions=actions)
resp = client.message('what is the stock price of xyz') print('Result: ' + str(resp))