agentsclimarketplace

Agentdb semantic vector search

Skill bg-szy/TOP-SKILLS/skills/marketplace/agentdb-semantic-vector-search

全球最大的 Claude Code 技能聚合库 · 收录 3900+ 来自 12+ 来源的技能,提供在线搜索与趋势分析看板 / The world's largest Claude Code skill aggregation hub — 3900+ skills from 12+ sources with online search and trend dashboard

Install
npx -y skills add bg-szy/TOP-SKILLS --skill agentdb-semantic-vector-search

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Build semantic vector search systems with AgentDB for intelligent document retrieval, RAG applications, and knowledge bases using embedding-based similarity matching

SKILL.md

3.1 KB, as published. Nobody here has run it

AgentDB Semantic Vector Search

Overview

Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Build RAG systems, semantic search engines, and knowledge bases.

SOP Framework: 5-Phase Semantic Search

Phase 1: Setup Vector Database (1-2 hours)

  • Initialize AgentDB
  • Configure embedding model
  • Setup database schema

Phase 2: Embed Documents (1-2 hours)

  • Process document corpus
  • Generate embeddings
  • Store vectors with metadata

Phase 3: Build Search Index (1-2 hours)

  • Create HNSW index
  • Optimize search parameters
  • Test retrieval accuracy

Phase 4: Implement Query Interface (1-2 hours)

  • Create REST API endpoints
  • Add filtering and ranking
  • Implement hybrid search

Phase 5: Refine and Optimize (1-2 hours)

  • Improve relevance
  • Add re-ranking
  • Performance tuning

Quick Start

import { AgentDB, EmbeddingModel } from 'agentdb-vector-search';

// Initialize
const db = new AgentDB({ name: 'semantic-search', dimensions: 1536 });
const embedder = new EmbeddingModel('openai/ada-002');

// Embed documents
for (const doc of documents) {
  const embedding = await embedder.embed(doc.text);
  await db.insert({
    id: doc.id,
    vector: embedding,
    metadata: { title: doc.title, content: doc.text }
  });
}

// Search
const query = 'machine learning tutorials';
const queryEmbedding = await embedder.embed(query);
const results = await db.search({
  vector: queryEmbedding,
  topK: 10,
  filter: { category: 'tech' }
});

Features

  • Semantic Search: Meaning-based retrieval
  • Hybrid Search: Vector + keyword search
  • Filtering: Metadata-based filtering
  • Re-ranking: Improve result relevance
  • RAG Integration: Context for LLMs

Success Metrics

  • Retrieval accuracy > 90%
  • Query latency < 100ms
  • Relevant results in top-10: > 95%
  • API uptime > 99.9%

Additional Resources

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.