
Kombinovať text
Zlúčte dva textové vstupy do jedného pomocou komponentu Kombinovať text a zjednodušte konsolidáciu informácií vo vašich FlowHunt pracovných postupoch.
Opis komponentu
Ako funguje komponent Kombinovať text
Component: Combine Text
The Combine Text component is designed to take two separate pieces of text and merge them into a single output. This is especially useful in AI workflows where you need to concatenate text data from different sources or stages before further processing.
What Does This Component Do?
At its core, the Combine Text component accepts two text inputs and joins them together. You can also specify a delimiter, which is a character or string that will appear between the two combined texts (for example, a space, comma, line break, etc.). If no delimiter is provided, the texts are joined directly.
This component is ideal for scenarios such as:
- Merging user input with system messages
- Combining results from different model outputs
- Preparing prompts for large language models
Inputs
| Input Name | Display Name | Type | Required | Description |
|---|---|---|---|---|
| input_text_1 | First Text | String | No | First text to combine |
| input_text_2 | Second Text | String | No | Second text to combine |
| delimiter | Delimiter | String | No | Separator between the two texts |
- First Text: The initial text segment you want to include in the combination.
- Second Text: The second text segment to append after the first.
- Delimiter: (optional) Any character(s) to insert between the two texts (e.g., space
" ", comma",", newline"\n"). Leaving this blank will concatenate the texts directly.
Outputs
| Output Name | Display Name | Type | Description |
|---|---|---|---|
| combine text | Combined Text | String | The resulting merged text |
The output is a single string containing both input texts, separated by the chosen delimiter.
Example Usage
Suppose you have:
- First Text: “Hello”
- Second Text: “World”
- Delimiter: “, "
The output will be:
Hello, World
Why Use This Component?
- Flexibility: Easily combine text streams from different parts of your workflow.
- Preprocessing: Prepare inputs for models that require concatenated or formatted text.
- Customization: Choose any delimiter that fits your use case, or leave it blank for direct concatenation.
Summary
The Combine Text component is a simple yet powerful tool for joining two text inputs with an optional delimiter. It can be used in a variety of AI and data processing workflows wherever text merging is required.
Najčastejšie kladené otázky
- Čo robí komponent Kombinovať text?
Komponent Kombinovať text zlúči dva samostatné textové vstupy do jedného výstupu, voliteľne oddelených vlastným oddeľovačom.
- Môžem použiť vlastný oddeľovač?
Áno, môžete zadať akýkoľvek oddeľovač, ktorý oddelí zlúčené texty, alebo ho nechať prázdny pre priame zreťazenie.
- Kedy mám použiť komponent Kombinovať text?
Použite ho vždy, keď potrebujete spojiť informácie z rôznych krokov pracovného postupu alebo zdrojov do jednej správy.
- Aké typy vstupov sú podporované?
Komponent pracuje s akýmkoľvek textovým vstupom zadaným vo vašom pracovnom postupe FlowHunt.
- Je tento komponent vhodný na automatizáciu?
Áno, zjednodušuje zlučovanie textových údajov, vďaka čomu je užitočný pre automatizáciu odpovedí, zhrnutí alebo konsolidovaných výstupov.
Vyskúšajte FlowHunt Kombinovať text
Začnite budovať inteligentnejšie pracovné postupy jednoduchou konsolidáciou textových vstupov pomocou komponentu Kombinovať text.