跳到正文
Skillpedia
数据库48k · #6151

weaviate

它能做什么

这个工具可以让你与一个名为 Weaviate 的特殊数据库进行交互。你可以搜索信息、提问、查看数据是如何组织的、创建新的表(集合,collection),并向其中添加数据。

适用场景

  • ✓当你想在 Weaviate 数据库中查找特定信息时。
  • ✓当你需要把新数据(比如来自 CSV 或 PDF 文件的数据)添加到某个集合中时。
  • ✓当你想创建一个新的“表”(集合)来整理数据时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/weaviate/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/weaviate/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在“news”数据库中搜索有关人工智能的文章,并告诉我最近的 3 篇。”

每周 5 个新技能,1 分钟读完。

工作原理

你告诉它想查找或执行什么操作,工具就会使用特定的命令与 Weaviate 数据库通信。它可以检索数据、创建新集合,或从文件中导入信息。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Weaviate Database Operations

This skill provides comprehensive access to Weaviate vector databases including search operations, natural language queries, schema inspection, data exploration, filtered fetching, collection creation, and data imports.

When to Use This Skill

  • Use when the user needs to inspect Weaviate collections, schemas, or data distribution.
  • Use when running semantic, hybrid, keyword, filtered, or Query Agent searches against Weaviate.
  • Use when importing CSV, JSON, JSONL, or PDF data into a Weaviate collection.
  • Use when creating example data or a collection for a Weaviate-backed workflow.

Weaviate Cloud Instance

If the user does not have an instance yet, direct them to the cloud console to register and create a free sandbox. Create a Weaviate instance via Weaviate Cloud.

Environment Variables

Required:

  • WEAVIATE_URL - Your Weaviate Cloud cluster URL
  • WEAVIATE_API_KEY - Your Weaviate API key

External Provider Keys (auto-detected): Set only the keys your collections use, refer to Environment Requirements for more information.

Script Index

Search & Query

  • Query Agent - Ask Mode: Use when the user wants a direct answer to a question based on collection data. The Query Agent synthesizes information from one or more collections and returns a structured response with source citations (collection name and object ID).
  • Query Agent - Search Mode: Use when the user wants to explore or browse raw objects across one or more collections. Unlike ask mode, this returns the actual data objects rather than a synthesized answer.
  • Hybrid Search: Default choice for most searches. Provides a good balance of semantic understanding and exact keyword matching. Use this when you are unsure which search type to pick.
  • Semantic Search: Use for finding conceptually similar content regardless of exact wording. Best when the intent matters more than specific keywords.
  • Keyword Search: Use for finding exact terms, IDs, SKUs, or specific text patterns. Best when precise keyword matching is needed rather than semantic similarity.

Collection Management

  • List Collections: Use to discover what collections exist in the Weaviate instance. This should typically be the first step before performing any search or data operation.
  • Get Collection Details: Use to understand a collection's schema — its properties, data types, vectorizer configuration, replication factor, and multi-tenancy status. Helpful before running searches or imports.
  • Explore Collection: Use to analyze data distribution, top values, and inspect actual content in a collection. Helpful for understanding what data looks like before querying.
  • Create Collection: Use to create new collections with custom schemas before importing data. Do not specify a vectorizer unless the user explicitly requests one (the default text2vec_weaviate is used).

Data Operations

  • Fetch and Filter: Use to retrieve specific objects by ID or strictly filtered subsets of data. Best for precise data retrieval rather than search.
  • Import Data: Use this when the user asks to import, load, or ingest a file (CSV, JSON, JSONL, PDF) into a collection.
  • Create Example Data: Use to create example data for immediate use of other skills, if no data is available or user requests some toy data.

Recommendations

  1. Start by listing collections if you don't know what's available:

    uv run scripts/list_collections.py
    
  2. Ask the user if they want to create example data if nothing is available and the user requests it. Otherwise continue.

    uv run scripts/example_data.py
    
  3. Get collection details to understand the schema:

    uv run scripts/get_collection.py --name "COLLECTION_NAME"
    
  4. Explore collection data to see values and statistics:

    uv run scripts/explore_collection.py "COLLECTION_NAME"
    

…

常见问题

什么是像 Weaviate 这样的向量数据库?

它是一种数据库,会以 AI 能够理解含义和上下文的方式存储信息,而不仅仅是精确的文字。这让搜索变得更加智能。

我需要安装 Weaviate 吗?

不一定。你可以使用云端版本(Weaviate Cloud),并提供你的地址(URL)和访问密钥(API Key),工具就能连接上了。

我可以导入哪些文件类型?

你可以导入 CSV、JSON、JSONL 文件中的数据,也可以导入 PDF。

详情

作者的原始描述

Search, query, inspect, create, and import data into Weaviate vector database collections using official scripts and references.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6151
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能