How to use text-embedding-3-small in Docker

hi @cong.dao !!

You need to explicitly set in at Collection create time.

Like so:

collection = client.collections.create(
    "Collection",
    vectorizer_config=wvc.config.Configure.Vectorizer.text2vec_openai(
        model="text-embedding-3-small"
    ),
)

AFAIK, there isn’t an environment variable to change a module/integration default from docker compose.

Please, if you think this could be a good feature, feel free to open a feature request in Issues · weaviate/weaviate · GitHub

Thanks!

1 Like