Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

embedding-pipelines嵌入管道

Agent Skill

用于搭建或维护带检索增强的 RAG 工作流,适合让 Agent 处理知识库问答、向量检索、来源引用和事实核查。它可以辅助整理数据接入、Embedding、向量库、召回参数和回答生成流程。使用时需要确认数据来源、更新频率、召回阈值和引用展示方式,避免把未命中的资料或过期内容包装成确定事实。

总安装

423

周安装

18

GitHub Stars

4

下载量

148
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:embedding-pipelines(嵌入管道)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/embedding-pipelines
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill embedding-pipelines
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill embedding-pipelines

简介

用于创建、优化和部署 AI/ML 模型的嵌入管道,支持文本向量化与相似度搜索任务。

  • 适合处理大规模数据集、加速推理速度或将嵌入集成至生产环境 ML 系统。
  • 可与 Hugging Face 或 TensorFlow 等框架集成,简化嵌入模型的工作流。
  • 需准备输入数据并配置模型参数,注意监控资源使用和输出一致性。
  • embedding-pipelines 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

embedding-pipelines

Purpose

This skill manages embedding pipelines for AI/ML models, enabling creation, optimization, and deployment of pipelines that handle vector embeddings for tasks like NLP or recommendation systems. It integrates with frameworks like Hugging Face or TensorFlow to streamline workflows.

When to Use

Use this skill when you need to generate, fine-tune, or deploy embedding models, such as transforming text into vectors for similarity searches. Apply it in scenarios involving large datasets, model optimization for inference speed, or integrating embeddings into production ML pipelines.

Key Capabilities

  • Create embedding pipelines with custom models (e.g., BERT, Word2Vec) and data sources.
  • Optimize pipelines for performance, including dimensionality reduction via PCA or quantization.
  • Deploy pipelines to cloud environments like AWS Sagemaker or local servers.
  • Monitor pipeline metrics such as embedding quality and latency.
  • Support for batch and real-time processing with configurable input formats (e.g., JSON, CSV).

Usage Patterns

Always initialize with authentication via environment variable $EMBEDDING_API_KEY. Use CLI for quick tasks or API for programmatic integration. Start by defining a pipeline configuration file (YAML or JSON), then execute commands to build and deploy. For loops or scripts, wrap API calls in error-checked functions. Example pattern: Load config, create pipeline, optimize, then deploy.

Common Commands/API

Use the OpenClaw CLI with the embedding-pipelines subcommand. Authentication requires setting $EMBEDDING_API_KEY before running commands.

  • Create a pipeline: openclaw embedding-pipelines create --config pipeline.yaml --model bert (Config file example: {"model": "bert", "data_path": "data.csv"})
  • Optimize a pipeline: openclaw embedding-pipelines optimize --pipeline-id 123 --method pca --dimensions 128 (API endpoint: POST /api/embedding-pipelines/123/optimize with body: {"method": "pca", "dimensions": 128})
  • Deploy a pipeline: openclaw embedding-pipelines deploy --pipeline-id 123 --endpoint http://my-server:8080 (Code snippet: import requests response = requests.post('http://api.openclaw.com/api/embedding-pipelines/deploy', json={"id": 123, "endpoint": "http://my-server:8080"}, headers={"Authorization": f"Bearer {os.environ['EMBEDDING_API_KEY']}"})
  • List pipelines: openclaw embedding-pipelines list --filter active (API: GET /api/embedding-pipelines?filter=active)

Config format is JSON or YAML, e.g.: {"model": "bert", "input_type": "text", "output_dim": 768}

Integration Notes

Integrate by setting $EMBEDDING_API_KEY in your environment. For Python scripts, use the OpenClaw SDK: install via pip install openclaw-sdk, then import and authenticate. Example: from openclaw import EmbeddingPipelines; client = EmbeddingPipelines(api_key=os.environ['EMBEDDING_API_KEY']). Ensure your application handles asynchronous responses for long-running tasks. For Kubernetes, mount config files as secrets and reference them in deployment YAML.

Error Handling

Check CLI exit codes (e.g., non-zero for failures) and API response status codes (e.g., 400 for bad requests, 401 for auth errors). Handle specific errors like invalid config by parsing response JSON (e.g., {"error": "Invalid model type"}). In code, use try-except blocks: try: response = client.create_pipeline(config) except Exception as e: if "Invalid config" in str(e): print("Fix config and retry")

Log errors with details like pipeline ID for debugging. Retry transient errors (e.g., network issues) with exponential backoff.

Usage Examples

  1. Create and optimize a simple embedding pipeline for text data: First, create a config file pipeline.yaml with: {"model": "bert", "data_path": "text_data.csv"}. Then run: export EMBEDDING_API_KEY=your_key_here openclaw embedding-pipelines create --config pipeline.yaml Follow with: openclaw embedding-pipelines optimize --pipeline-id 456 --method quantization
  2. Deploy an optimized pipeline to a cloud endpoint: After optimization, deploy with: openclaw embedding-pipelines deploy --pipeline-id 456 --endpoint https://sagemaker-endpoint.aws.com In a script: client = EmbeddingPipelines(api_key=os.environ['EMBEDDING_API_KEY']) client.deploy(456, "https://sagemaker-endpoint.aws.com")

Graph Relationships

  • Relates to: "model-training" (for feeding optimized embeddings into training loops)
  • Depends on: "data-preprocessing" (for handling input data cleaning)
  • Integrates with: "inference-serving" (for deploying pipelines to production servers)
  • Conflicts with: None directly, but avoid concurrent use with "vector-search" if pipelines overlap

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.31%
按下载量换算55

Claude

28.76%
按下载量换算43

Cursor

17.79%
按下载量换算26

Gemini CLI

8.83%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills