Dial tcp 127.0.0.1:11434: connect: connection refused (Local Ollama)

Hi @suprateembanerjee and @switch :wave:

If you are using Docker, could you try setting the endpoint like this:

client.collections.create(
    name="SomeCollection",
    vectorizer_config=Configure.Vectorizer.text2vec_ollama(
        api_endpoint="http://host.docker.internal:11434",
        model="snowflake-arctic-embed"
    )
)

As shown here? text2vec-ollama | Weaviate - Vector Database

Please let us know if that works for you. Thanks!