Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access user entity values submitted by send_user_entities_example.py on api.ai platform? #44

Open
clungzta opened this issue Sep 4, 2017 · 0 comments

Comments

@clungzta
Copy link

clungzta commented Sep 4, 2017

Hello,

I am trying to access set some User Entities for my session using the python-client. Then use ai.api insert the Value of the User Entity in the text response.

I have successfully ran the user entity sample code send_user_entities_example.py.

However I am unsure of how to simply access the submitted entity value from api.ai to insert it into my text response.

All documentation I have found regarding the use of ai.api UserEntites has been quite vague. Code comments refer to https://api.ai/docs/reference/agent/userentities which states:

A good scenario could be when you have a playlist entity that has generic playlist. As playlists are user-specific, playlist entity could be defined in a request or for a given session.

This is the only source of information I could find online about UserEntites, it does not explain how to access user entity values from the api.ai platform agent.

Further instruction/documentation about "how to access the user entity values submitted by send_user_entities_example.py on the api.ai platform agent" would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant