c56bef871b
Sync docs with Docusaurus / sync (push) Waiting to run
Tests / Check if changed (push) Waiting to run
Tests / format (push) Blocked by required conditions
Tests / check-imports (push) Blocked by required conditions
Tests / Unit / macos-latest (push) Blocked by required conditions
Tests / Unit / ubuntu-latest (push) Blocked by required conditions
Tests / Unit / windows-latest (push) Blocked by required conditions
Tests / mypy (push) Blocked by required conditions
Tests / Integration / ubuntu-latest (push) Blocked by required conditions
Tests / Integration / macos-latest (push) Blocked by required conditions
Tests / Integration / windows-latest (push) Blocked by required conditions
Tests / notify-slack-on-failure (push) Blocked by required conditions
Tests / Mark tests as completed (push) Blocked by required conditions
Docker image release / Build base image (push) Waiting to run
CodeQL / Analyze (python) (push) Has been cancelled
Update Platform Components Table / update (push) Has been cancelled
22 lines
2.2 KiB
Plaintext
22 lines
2.2 KiB
Plaintext
---
|
|
title: "Routers"
|
|
id: routers
|
|
slug: "/routers"
|
|
description: "Routers is a group of components that route queries or documents to other components that can handle them best."
|
|
---
|
|
|
|
# Routers
|
|
|
|
Routers is a group of components that route queries or documents to other components that can handle them best.
|
|
|
|
| Component | Description |
|
|
| --- | --- |
|
|
| [ConditionalRouter](routers/conditionalrouter.mdx) | Routes data based on specified conditions. |
|
|
| [DocumentLengthRouter](routers/documentlengthrouter.mdx) | Routes documents to different output connections based on the length of their `content` field. |
|
|
| [DocumentTypeRouter](routers/documenttyperouter.mdx) | Routes documents based on their MIME types to different outputs for further processing. |
|
|
| [FileTypeRouter](routers/filetyperouter.mdx) | Routes file paths or byte streams based on their type further down the pipeline. |
|
|
| [LLMMessagesRouter](routers/llmmessagesrouter.mdx) | Routes Chat Messages to various output connections using a generative Language Model to perform classification. |
|
|
| [MetadataRouter](routers/metadatarouter.mdx) | Routes documents based on their metadata field values. |
|
|
| [TextLanguageRouter](routers/textlanguagerouter.mdx) | Routes queries based on their language. |
|
|
| [TransformersTextRouter](routers/transformerstextrouter.mdx) | Routes text input to various output connections based on a model-defined categorization label. |
|
|
| [TransformersZeroShotTextRouter](routers/transformerszeroshottextrouter.mdx) | Routes text input to various output connections based on user-defined categorization label. | |