Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: expose vector_stores on client.beta #2348

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
Loading
from

Conversation

Moondy217
Copy link

@Moondy217 Moondy217 commented May 9, 2025

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Expose vector_stores under client.beta to enable Assistant file_search + vector_store_ids support.

Additional context & links

Currently, OpenAI Python SDK 1.78.0 does not expose client.beta.vector_stores.
This PR shows how to enable the missing entry point using:

@cached_property
def vector_stores(self) -> VectorStores:
    from ..vector_stores import VectorStores
    return VectorStores(self._client)

See API reference: https://platform.openai.com/docs/assistants/tools/file-search
Related issue: #

@Moondy217 Moondy217 requested a review from a team as a code owner May 9, 2025 06:09
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.

1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.