opendcai/dataflow-webui/embedding-generator
Claude Code and agent skill by opendcai/dataflow-webui
- community
Checking that the SKILL.md file is still in the repository.
Reference documentation for the EmbeddingGenerator operator. Covers the constructor, embedding serving requirements, actual dataframe flow, and runnable pipeline usage. Use when: converting one text column in a dataframe into embedding vectors for retrieval, clustering, similarity search, or downstream vector-based operators.
Install
npx vskill@latest install opendcai/dataflow-webui/embedding-generatorSKILL.md
EmbeddingGenerator Operator Reference
EmbeddingGenerator reads one text column from the current dataframe, sends the full column as a batch into an embedding service, writes the returned vectors into output_key, persists the dataframe, and returns [output_key].
1. Imports
2. Embedding Serving Options
Option A: Remote API with APILLMServing_request
This works because APILLMServing_request implements:
Option B: Local embedding model with LocalEmbeddingServing
Requires:
Option C: Provider-agnostic API via LiteLLMServing
This is suitable when you want to route embedding requests through LiteLLM.
Option D: Local vLLM backend with LocalModelLLMServing_vllm
This works only if the selected vLLM model/backend supports embedding through llm.embed(...).
Practical List of Supported Serving Examples
The following classes in dataflow.serving currently expose generate_embedding_from_input(...) and are practical candidates for EmbeddingGenerator:
APILLMServing_requestLocalEmbeddingServingLiteLLMServingLocalModelLLMServing_vllm
The following commonly imported serving is not suitable here:
LocalModelLLMServing_sglang: itsgenerate_embedding_from_input(...)
currently raises NotImplementedError
3. Constructor
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
embedding_serving | Yes | None | Service object that provides generate_embedding_from_input(texts) |
Important Serving Note
Although the constructor type annotation is LLMServingABC, the operator does not call generate_from_input(...). It specifically calls:
So the practical requirement is not just “any LLMServingABC”, but a serving object that actually implements generate_embedding_from_input(...).
4. run() Signature
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
storage | Yes | None | Current operator-step storage object | |
input_key | No | "text" | Existing dataframe column containing texts | |
output_key | No | "embeddings" | Column written with embedding vectors |
5. Actual Execution Logic
The current implementation behaves as follows:
- Read the dataframe from
storage. - Read the column
dataframe[input_key]. - Convert that column into a Python list with
tolist(). - Call:
- Write the returned embedding list into
dataframe[output_key]. - Persist the dataframe through
storage.write(dataframe). - Return
[output_key].
6. Important Rules
input_keymust already exist in the current dataframe.- The operator sends the full text column as one batch to
generate_embedding_from_input(...). - The operator does not perform missing-value filtering or type normalization before sending the texts.
output_keyis overwritten silently if it already exists.- The return value is a list containing the output column name, not the bare string.
- When using
APILLMServing_request,api_urlshould point to an embedding endpoint such as/v1/embeddings, not/v1/chat/completions. - A service being an
LLMServingABCsubclass is not sufficient by itself; it must actually implementgenerate_embedding_from_input(...).
7. Typical Usage
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/canonical/core_text/generate/embedding-generator/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/opendcai/dataflow-webui/embedding-generator)