✨ (inputs/__init__.py): Add TextInput class to support text input type in langflow inputs
📝 (inputs/inputs.py): Add TextInput class with validation logic for different input types like Data, Message, and Text 📝 (schema/message.py): Add text_key attribute to Message class to specify the key for text data in the message object
This commit is contained in:
parent
6f0ddc78c7
commit
6ff8b01e9c
3 changed files with 32 additions and 3 deletions
|
|
@ -4,13 +4,14 @@ from .inputs import (
|
|||
DropdownInput,
|
||||
FileInput,
|
||||
FloatInput,
|
||||
HandleInput,
|
||||
IntInput,
|
||||
MultilineInput,
|
||||
NestedDictInput,
|
||||
PromptInput,
|
||||
SecretStrInput,
|
||||
StrInput,
|
||||
HandleInput,
|
||||
TextInput,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
|
|
@ -26,4 +27,5 @@ __all__ = [
|
|||
"PromptInput",
|
||||
"MultilineInput",
|
||||
"HandleInput",
|
||||
"TextInput",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue