Hi, I am encountering an error: type object '_Generative' has no attribute 'ollama'
. According to the documentation, this feature is available in version 1.25.0, and I am using version 1.25.4. I installed Weaviate using Docker and enabled the modules with the following configuration: ENABLE_MODULES: 'text2vec-ollama,generative-ollama'
.
Here is my code:
client.collections.create(
collection_name,
vectorizer_config=wvc.config.Configure.Vectorizer.text2vec_ollama(
api_endpoint="http://host.docker.internal:11434",
model="mxbai-embed-large"
),
generative_config=wvc.config.Configure.Generative.ollama(
api_endpoint="http://host.docker.internal:11434",
model="llama3"
)
)
Can you please help me resolve this issue?