
knowledge-base-ingestion
by srsubramanian
SKILL.md
id: kb_ingest name: Knowledge Base Ingestion version: 1.0.0 category: knowledge description: Ingest and manage documents in the vector knowledge base
tool_configs:
-
name: kb_ingest_text description: Ingest plain text content into the knowledge base method: ingest_text args:
- name: text type: string required: true description: The text content to ingest
- name: title type: string required: true description: Title/name for the document
- name: collection type: string required: false description: Collection to add the document to requires_skill_loaded: true
-
name: kb_ingest_url description: Fetch and ingest content from a URL into the knowledge base method: ingest_url args:
- name: url type: string required: true description: The URL to fetch content from
- name: collection type: string required: false description: Collection to add the document to requires_skill_loaded: true
-
name: kb_delete_document description: Delete a document from the knowledge base method: delete_document args:
- name: document_id type: string required: true description: The ID of the document to delete requires_skill_loaded: true
-
name: kb_get_document description: Get information about a specific document method: get_document args:
- name: document_id type: string required: true description: The ID of the document to retrieve requires_skill_loaded: true
resource_configs:
-
name: ingestion_guidelines description: Guidelines for effective knowledge base ingestion content: |
Ingestion Guidelines
Text Content
- Use descriptive titles that help identify the content
- Organize related content into collections
- Keep individual documents focused on a single topic
- Larger documents are automatically chunked for better search
URL Content
- Web pages are fetched and converted to plain text
- JavaScript-heavy pages may not extract well
- Consider using the text ingestion for better control
Collections
- Use collections to organize documents by topic or source
- Collection names should be lowercase with underscores
- Examples: "company_policies", "technical_docs", "meeting_notes"
Knowledge Base Ingestion Skill
You have the ability to add content to the vector knowledge base. This allows you to build a searchable repository of information that can be retrieved later using semantic search.
Capabilities
-
Text Ingestion: Add plain text content directly to the knowledge base. The text is automatically chunked and embedded for semantic search.
-
URL Ingestion: Fetch content from a URL and add it to the knowledge base. Useful for adding web pages, documentation, or online resources.
-
Document Management: Delete documents that are no longer needed, or get information about existing documents.
When to Use This Skill
Use knowledge base ingestion when:
- The user wants to add information for later retrieval
- Building a custom knowledge repository
- Adding reference materials, documentation, or notes
- The user shares content they want to "remember" or store
Ingestion Guidelines
-
Use Descriptive Titles: Choose titles that will help identify the content later. Good titles make it easier to find documents.
-
Organize with Collections: Group related documents into collections for better organization:
technical_docs- Technical documentationmeeting_notes- Meeting summariesresearch- Research materialspolicies- Company policies
-
Chunk Size: Documents are automatically split into smaller chunks for better search relevance. You don't need to worry about document size.
-
Confirm Success: After ingestion, confirm the document was added successfully by reporting the document ID and chunk count.
Example Workflows
Adding Text Content
- User provides text to remember
- Call
kb_ingest_textwith the text and a descriptive title - Optionally specify a collection
- Confirm success with document details
Adding Web Content
- User provides a URL
- Call
kb_ingest_urlwith the URL - Content is fetched, processed, and stored
- Confirm success with document details
Removing Content
- User requests document removal
- Use
kb_list_documents(from KB Search skill) to find the document - Call
kb_delete_documentwith the document ID - Confirm deletion
Important Notes
- Ingested content is stored in a vector database for semantic search
- Content is automatically chunked into smaller pieces for better retrieval
- Embeddings are generated using OpenAI's text-embedding model
- Deleted documents cannot be recovered
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です