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

package.ai.api.model does not exist #94

Open
digracesion opened this issue May 28, 2018 · 7 comments
Open

package.ai.api.model does not exist #94

digracesion opened this issue May 28, 2018 · 7 comments

Comments

@digracesion
Copy link

packages from ai.api seems to have been deprecated as api.ai has been changed to dialogflow v2. how do I fix this problem?

@HarisSpahija
Copy link

Do you have any sample code? So far the packages I have been using seem to be working fine.

@digracesion
Copy link
Author

i just made a pull request of this project and imported the project to create a new one, but the bot doesn't respond at all. pretty sure the credentials are working fine since i lent them to someone who tried to create an ios app

@HarisSpahija
Copy link

Can the app build? If so, dont forget to check your permissions in android itself.

@digracesion
Copy link
Author

i've checked the permissions. however, the app fails to build.

@HarisSpahija
Copy link

Can you link your error message when you build? It might be that you havent installed the v2 model yet. You can do that with npm

@imGurpreetSK
Copy link

imGurpreetSK commented Aug 30, 2018

Getting the same error while trying to build the sample app.

All these imports are error-ed out:

import ai.api.AIServiceException;
import ai.api.RequestExtras;
import ai.api.model.AIContext;
import ai.api.model.AIError;
import ai.api.model.AIEvent;
import ai.api.model.AIRequest;
import ai.api.model.AIResponse;
import ai.api.model.Metadata;
import ai.api.model.Result;
import ai.api.model.Status;

The entire model package is missing, along with other files stated above.

@imGurpreetSK
Copy link

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

3 participants