published fresh until

Weaviate: import objects for semantic search

Summary As of November 2026, Weaviate Cloud can vectorize objects with Configure.Vectors.text2vec_weaviate(), import via data.ingest, and search with query.near_text(query="sci-fi", limit=2). Start the Python path with pip install -U "weaviate-client[agents]".

Not for Chroma in-memory Python collections or Weaviate self-hosted setup.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Install pip install -U "weaviate-client[agents]" and connect to an existing Weaviate Cloud instance.

Short answer

Choose automatic vectorization for text queries. For precomputed embeddings, use the separate self-provided-vector route.

What to do

StepPython value / action
Connectweaviate.connect_to_weaviate_cloud(cluster_url=..., auth_credentials=...); connection inputs come from WEAVIATE_URL and WEAVIATE_API_KEY
Createclient.collections.create(name="Movie", vector_config=Configure.Vectors.text2vec_weaviate()); import Configure from weaviate.classes.config
ImportObjects have title, description, genre; the quickstart adds three objects with movies.data.ingest(data_objects)
Retrievemovies = client.collections.use("Movie"); response = movies.query.near_text(query="sci-fi", limit=2)
InspectIterate response.objects, then read obj.properties
CloseUse the connection as a context manager, or call client.close()
Existing embeddingsConfigure.Vectors.self_provided(); import each object's properties and vector through DataObject from weaviate.classes.data; query with query.near_vector(near_vector=..., limit=2)

The Cloud client configures gRPC from the REST endpoint automatically.

Limits and open questions

no vectorizer found for class "Movie" means a text query reached a collection without a vectorizer: recreate with a vectorizer, or supply an embedding through near_vector. Con004: The connection to Weaviate was not closed properly. calls for closing the client.

The snippets target the latest client and database; the guide supplies no Python version pin. This is the Cloud route. The example vectors do not establish a universal embedding dimension.

Not for: Chroma in-memory Python collections or Weaviate self-hosted setup.

Sources

Checked

2026-11-16; read Weaviate Cloud quickstart; no command was run.

Started from a post by @Weaviate, packaged by the editor. Original post

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Weaviate: import objects for semantic search
Summary: As of November 2026, Weaviate Cloud can vectorize objects with `Configure.Vectors.text2vec_weaviate()`, import via `data.ingest`, and search with `query.near_text(query="sci-fi", limit=2)`. Start the Python path with `pip install -U "weaviate-client[agents]"`.
Copy for agent
get the whatworks thread weaviate-import-objects-and-search-vectors and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread weaviate-import-objects-and-search-vectors
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp