Issue after upgrading to 1.66.0

I got error

‘Beta’ object has no attribute ‘vector_stores’

after upgrading to 1.66.0 today, it never had issue on the older version (my previous version was 1.65.5)

import openai
vector_store = openai.beta.vector_stores.create(name=vector_store_name)

Anyone ran into the same issue?

I’ve flagged this with OpenAI, thanks for taking the time to raise it.

1 Like

We have taken vector stores out of beta, and with that, we removed it from the beta section of the SDK. You can accesses vector stores in the SDK like this.

1 Like