Add constants for Langflow base module
This commit is contained in:
parent
4b052776ed
commit
7415def0a9
1 changed files with 26 additions and 0 deletions
|
|
@ -1 +1,27 @@
|
|||
"""
|
||||
This module contains constants used in the Langflow base module.
|
||||
|
||||
Constants:
|
||||
- STREAM_INFO_TEXT: A string representing the information about streaming the response from the model.
|
||||
- NODE_FORMAT_ATTRIBUTES: A list of attributes used for formatting nodes.
|
||||
- FIELD_FORMAT_ATTRIBUTES: A list of attributes used for formatting fields.
|
||||
"""
|
||||
STREAM_INFO_TEXT = "Stream the response from the model. Streaming works only in Chat."
|
||||
|
||||
NODE_FORMAT_ATTRIBUTES = ["beta", "icon", "display_name", "description"]
|
||||
|
||||
|
||||
FIELD_FORMAT_ATTRIBUTES = [
|
||||
"info",
|
||||
"display_name",
|
||||
"required",
|
||||
"list",
|
||||
"multiline",
|
||||
"fileTypes",
|
||||
"password",
|
||||
"input_types",
|
||||
"title_case",
|
||||
"real_time_refresh",
|
||||
"refresh_button",
|
||||
"refresh_button_text",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue