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

BQML backend and .env file variables (explore-assistant-extension) #138

Open
rikaando opened this issue Dec 11, 2024 · 0 comments
Open

BQML backend and .env file variables (explore-assistant-extension) #138

rikaando opened this issue Dec 11, 2024 · 0 comments

Comments

@rikaando
Copy link

When using BQML as the backend in explore-assistant-extension, leaving the VERTEX_AI_ENDPOINT and VERTEX_CF_AUTH_TOKEN variables in the .env file with their default values (ex. ) causes an error. It appears the code uses the presence of values in these variables to determine whether the backend is Cloud Functions or BQML.

To resolve this, I suggest one of the following solutions:

  1. Introduce a backend selection environment variable in the extension (frontend). This would allow users to explicitly specify the backend they are using, avoiding any ambiguity based on the .env file.

  2. Update the README with instructions to comment out or leave blank the VERTEX_AI_ENDPOINT and VERTEX_CF_AUTH_TOKEN variables when not using Cloud Functions. This would provide clearer guidance to users on how to configure the extension for BQML.

Implementing either of these solutions would improve the user experience and prevent confusion when setting up the explore-assistant-extension with BQML.

スクリーンショット 2024-12-11 10 05 46

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

No branches or pull requests

1 participant