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

NoneType object has no attribute questions #462

Closed
Rainismer opened this issue May 29, 2024 · 3 comments
Closed

NoneType object has no attribute questions #462

Rainismer opened this issue May 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Rainismer
Copy link

from vanna.remote import VannaDefault
from google.colab import userdata
vn = VannaDefault(model='gpt-4o', api_key=userdata.get('OPENAI_API_KEY'))
vn.connect_to_sqlite('https://vanna.ai/Chinook.sqlite')
vn.ask("What are the top 10 albums by sales?")

'NoneType' object has no attribute 'questions'

@Rainismer Rainismer added the bug Something isn't working label May 29, 2024
@anechii
Copy link

anechii commented May 29, 2024

following this, I have the same problem.
I am running it on a heroku like cloud platform.

@anechii
Copy link

anechii commented May 29, 2024

@Rainismer issue 465

@Rainismer
Copy link
Author

@anechii I got it. My model and aip key are incorrect.

@Rainismer Rainismer closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants