🔀 chore(constants.py): reorganize imports in constants.py for better readability and maintainability
This commit is contained in:
parent
77aee1b413
commit
b633afba8d
1 changed files with 13 additions and 9 deletions
|
|
@ -1,23 +1,27 @@
|
||||||
DEFAULT_CUSTOM_COMPONENT_CODE = """from langflow import CustomComponent
|
DEFAULT_CUSTOM_COMPONENT_CODE = """from langflow import CustomComponent
|
||||||
|
|
||||||
from langflow.field_typing import (
|
from langflow.field_typing import (
|
||||||
Tool,
|
AgentExecutor,
|
||||||
PromptTemplate,
|
|
||||||
Chain,
|
|
||||||
BaseChatMemory,
|
BaseChatMemory,
|
||||||
|
BaseLanguageModel,
|
||||||
BaseLLM,
|
BaseLLM,
|
||||||
BaseLoader,
|
BaseLoader,
|
||||||
BaseMemory,
|
BaseMemory,
|
||||||
BaseOutputParser,
|
BaseOutputParser,
|
||||||
|
BasePromptTemplate,
|
||||||
BaseRetriever,
|
BaseRetriever,
|
||||||
VectorStore,
|
Callable,
|
||||||
Embeddings,
|
Chain,
|
||||||
TextSplitter,
|
ChatPromptTemplate,
|
||||||
Document,
|
|
||||||
AgentExecutor,
|
|
||||||
NestedDict,
|
|
||||||
Data,
|
Data,
|
||||||
|
Document,
|
||||||
|
Embeddings,
|
||||||
|
NestedDict,
|
||||||
Object,
|
Object,
|
||||||
|
PromptTemplate,
|
||||||
|
TextSplitter,
|
||||||
|
Tool,
|
||||||
|
VectorStore,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue