Refactor data and helper components
This commit is contained in:
parent
5e55f33c6f
commit
8651850803
6 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
from langflow.interface.custom.custom_component import CustomComponent
|
from langflow.interface.custom.custom_component import CustomComponent
|
||||||
from langflow.field_typing import Text
|
from langflow.field_typing import Text
|
||||||
|
|
||||||
|
|
||||||
class CombineTextComponent(CustomComponent):
|
class CombineTextComponent(CustomComponent):
|
||||||
display_name = "Combine Text"
|
display_name = "Combine Text"
|
||||||
description = "Concatenate two text sources into a single text chunk using a specified delimiter."
|
description = "Concatenate two text sources into a single text chunk using a specified delimiter."
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ class RecordsToTextComponent(CustomComponent):
|
||||||
display_name = "Records To Text"
|
display_name = "Records To Text"
|
||||||
description = "Convert Records into plain text following a specified template."
|
description = "Convert Records into plain text following a specified template."
|
||||||
|
|
||||||
|
|
||||||
def build_config(self):
|
def build_config(self):
|
||||||
return {
|
return {
|
||||||
"records": {
|
"records": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue