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

Your location is not supported by google-generativeai at the moment. #8

Open
aaaa-zhen opened this issue Jul 12, 2024 · 1 comment
Open

Comments

@aaaa-zhen
Copy link

ValueError: Your location is not supported by google-generativeai at the moment. Try to use ChatVertexAI LLM from langchain_google_vertexai.

it's there anyway to use another API ?

@svpino
Copy link
Owner

svpino commented Jul 12, 2024

Yes, you can use GPT-4o. That code is commented out. Uncomment it and you are good to go.

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

2 participants