Hi Team,
we are performing a POC for text2vec-ollama and generative-ollama with weaviate
Installed ollama on a VM with CPU’s for poc : http://ollama-poc-vm:3350
enabled text2vec-ollama and generative-ollama modules in weaviate. cluster came up without any issues.
class_obj = {
… “class”: “docs”,
… “vectorizer”: “text2vec-ollama”,
… “moduleConfig”: {
… “text2vec-ollama”: {
… “apiEndpoint”: "http://ollama-poc-vm:3350 ",
… “model”: “all-minilm”,
… }
… },
… “properties”: [
… {
… “name”: “text”,
… “dataType”: [“text”],
… },
… ],
… }
client.schema.create_class(class_obj)
class created.
how to embed the text docs as vectors into weaviate using ollama models ? Can you share some documents on how to use weaviate module to embed and run generative search / RAG use case ?
Regards,
Adithya