ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

alicloud-ai-search-dashvector

Build vector retrieval with DashVector using the Python SDK. Use when creating collections, upserting docs, and running similarity search with filters in Claude Code/Codex.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/cinience/alicloud-ai-search-dashvector
Or

What This Skill Does

The alicloud-ai-search-dashvector skill provides an interface to Alibaba Cloud's DashVector, a high-performance, distributed, and scalable vector database. This skill enables OpenClaw to manage vector collections, perform high-dimensional similarity searches, and handle data ingestion. By leveraging the DashVector Python SDK, it supports dense and sparse vector representations, allowing for precise information retrieval. It is designed to work seamlessly within AI agent environments like Claude Code, facilitating RAG (Retrieval-Augmented Generation) pipelines where context-aware responses are generated based on domain-specific documentation or knowledge bases stored in the cloud.

Installation

To begin, ensure you are working within a clean Python virtual environment to avoid conflicts with system-level packages. Execute the following in your terminal:

python3 -m venv .venv
. .venv/bin/activate
pip install dashvector

After installation, you must configure your environment variables to grant the agent access to your DashVector instance. Set DASHVECTOR_API_KEY and DASHVECTOR_ENDPOINT in your session or .env file. These credentials ensure secure authentication with your specific cluster.

Use Cases

This skill is primarily used for implementing vector search for RAG architectures. Key use cases include:

  • Semantic Search Engines: Indexing large document repositories to allow natural language queries.
  • Filtering & Scoping: Using metadata filters (like tenant IDs or source tags) to constrain search results during retrieval.
  • Hybrid Search: Combining dense vector similarity with sparse vector token-based matching for improved relevance.
  • Knowledge Management: Automating the ingestion of project documentation, codebases, or technical manuals into a queryable vector space.

Example Prompts

  1. "Initialize a new DashVector collection named 'project_docs' with a dimension of 768 using cosine similarity."
  2. "Upsert the provided text embeddings into the 'knowledge_base' collection, tagging them with 'source: technical_manual'."
  3. "Query the 'product_faq' collection for documents matching the embedding of 'How do I reset my password?' with a top-k of 3 and filter by 'category: account_services'."

Tips & Limitations

  • Dimension Alignment: Always ensure the dimension parameter matches your chosen embedding model (e.g., 768 for many BERT-based models, 1536 for OpenAI embeddings). Mismatched dimensions will result in API errors.
  • Idempotency: Use the upsert operation rather than insert to ensure that repeating an ingestion task does not result in duplicate records if the ID already exists.
  • Error Handling: Monitor for 429 (Too Many Requests) errors during batch operations and implement exponential backoff if necessary.
  • Performance: While DashVector is highly performant, keep metadata dictionaries lean to ensure rapid filtering performance.

Metadata

Author@cinience
Stars3562
Views3
Updated2026-03-29
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-cinience-alicloud-ai-search-dashvector": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#vector-search#alicloud#rag#embeddings#dashvector
Safety Score: 4/5

Flags: network-access, external-api