Skip to content

AttributeError: 'module' object has no attribute 'UserEntityEntry' #58

@dajor

Description

@dajor

File "tt.py", line 40, in main
apiai.UserEntityEntry('Firefox', ['Firefox']),
AttributeError: 'module' object has no attribute 'UserEntityEntry'

In the example

def main():
ai = apiai.ApiAI(CLIENT_ACCESS_TOKEN,'')

 # some unuque session id for user identification
 session_id = uuid.uuid4().hex

 entries = [
     apiai.UserEntityEntry('Firefox', ['Firefox']),
     apiai.UserEntityEntry('XCode', ['XCode']),
     apiai.UserEntityEntry('Sublime Text', ['Sublime Text'])
 ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions