Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions