Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Build vector search with Weaviate using v4 syntax, proper module configuration, and production-ready patterns.
Build vector search with Weaviate using v4 syntax, proper module configuration, and production-ready patterns.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
v3 syntax is DEPRECATED. Before generating ANY Weaviate code: Verify client version โ must be weaviate-client>=4.0 Use context managers โ with weaviate.connect_to_*() as client: or explicit client.close() New imports โ from weaviate.classes.config import Configure, Property If you see v3 patterns (weaviate.Client(), client.schema.create_class(), path=[...] filters), stop and rewrite.
TopicFilev3โv4 migration tablev4-syntax.mdModule configurationmodules.mdBatch, hybrid, HNSWoperations.md
# Connection (ALWAYS close) with weaviate.connect_to_local() as client: # Collections (not classes) collection = client.collections.get("Article") # Queries response = collection.query.hybrid("search term", alpha=0.7) # Vector access vector = obj.vector["default"] # Dict, not List # Filters Filter.by_property("category").equal("tech")
This skill covers: Schema design for RAG and semantic search Vectorizer and reranker module configuration Batch imports with error handling Hybrid search tuning (alpha parameter) HNSW index configuration for scale
Before using text2vec-openai, generative-openai, or rerankers, verify they're enabled: # docker-compose.yml ENABLE_MODULES: 'text2vec-openai,generative-openai,reranker-cohere'
client = weaviate.connect_to_local( headers={"X-OpenAI-Api-Key": os.environ["OPENAI_API_KEY"]} )
with client.batch.dynamic() as batch: for item in data: batch.add_object(properties=item, collection="Name")
alpha=0 โ BM25 only (keyword) alpha=1 โ Vector only (semantic) alpha=0.5-0.75 โ Balanced (typical for RAG)
Filters in where reduce the search space first โ always filter before near_text/near_vector.
Choose one pattern per collection: # Single vector (simpler) vectorizer_config=Configure.Vectorizer.text2vec_openai() # Named vectors (multiple embeddings per object) vector_config=[ Configure.Vectors.text2vec_openai(name="content", source_properties=["body"]), ]
Check in order: schema exists โ vectorizer ran โ distance threshold โ filter syntax. Use _additional { vector } to verify vectors were generated.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.