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

docs: add temp_dataset_name to community.BigQueryVectorStore docs #735

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

cmenon12
Copy link
Contributor

PR Description

Added temp_dataset_name to the docstring for BigQueryVectorStore, and an explanation about how to use it to avoid needing permission to create datasets in GCP.

This attribute is defined in BaseBigQueryVectorStore, albeit without the additional explanation.

Relevant issues

None.

Type

📖 Documentation

Changes(optional)

Testing(optional)

Note(optional)

In my environment I'm not allowed to create datasets, so was confused why BigQueryVectorStore asked for the bigquery.datasets.create permission even though the dataset already existed. Digging into the source code I found the temp_dataset_name attribute, and specifying it as the name of a dataset that already existed stopped this class from asking for this permission.

@cmenon12
Copy link
Contributor Author

Hi @lkuligin this is ready for review. I see the integration tests have failed, although I would expect no change given that only the docs have changed. Please let me know if I need to recreate the PR.

@lkuligin
Copy link
Collaborator

@cmenon12 thanks for your contribution!
please, fix the linter and I'm happy to merge it.

@cmenon12
Copy link
Contributor Author

@lkuligin thank you very much! I think I've fixed the issue the linter found.

@lkuligin lkuligin merged commit 6091071 into langchain-ai:main Feb 17, 2025
15 checks passed
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

Successfully merging this pull request may close these issues.

2 participants