---
title: "Feature Extraction (Embeddings)"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/transformers/featureextractionembeddings
markdown: https://docs.nodetool.ai/nodes/transformers/featureextractionembeddings.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/transformers/featureextractionembeddings.md
---

# Feature Extraction (Embeddings)

**Type:** `transformers.FeatureExtraction`

**Namespace:** `transformers`

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` | Text to embed. | `Hello world` |
| model | `any` | Transformers.js model (ONNX-compatible). | - |
| pooling | `enum` | Pooling strategy applied to the token embeddings. | `mean` |
| normalize | `bool` | L2-normalize the resulting embedding. | `true` |
| dtype | `enum` | Model dtype / quantization level. | `auto` |
| device | `enum` | Inference device. | `auto` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| embedding | `list` |  |
| dim | `int` |  |

## Related Nodes

Browse other nodes in the [transformers](./) namespace.
