Refactor field_typing module to remove Text type alias
This commit is contained in:
parent
d1705a7f5e
commit
c2b2375bde
2 changed files with 0 additions and 4 deletions
|
|
@ -21,7 +21,6 @@ from .constants import (
|
|||
NestedDict,
|
||||
Object,
|
||||
PromptTemplate,
|
||||
Text,
|
||||
TextSplitter,
|
||||
Tool,
|
||||
VectorStore,
|
||||
|
|
@ -78,7 +77,6 @@ __all__ = [
|
|||
"Object",
|
||||
"PromptTemplate",
|
||||
"RangeSpec",
|
||||
"Text",
|
||||
"TextSplitter",
|
||||
"Tool",
|
||||
"VectorStore",
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ Retriever = TypeVar(
|
|||
BaseRetriever,
|
||||
VectorStoreRetriever,
|
||||
)
|
||||
Text: TypeAlias = Message
|
||||
|
||||
|
||||
class Object:
|
||||
|
|
@ -66,7 +65,6 @@ CUSTOM_COMPONENT_SUPPORTED_TYPES = {
|
|||
"NestedDict": NestedDict,
|
||||
"Data": Data,
|
||||
"Message": Message,
|
||||
"Text": Text,
|
||||
"Object": Object,
|
||||
"Callable": Callable,
|
||||
"LanguageModel": LanguageModel,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue