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,
|
NestedDict,
|
||||||
Object,
|
Object,
|
||||||
PromptTemplate,
|
PromptTemplate,
|
||||||
Text,
|
|
||||||
TextSplitter,
|
TextSplitter,
|
||||||
Tool,
|
Tool,
|
||||||
VectorStore,
|
VectorStore,
|
||||||
|
|
@ -78,7 +77,6 @@ __all__ = [
|
||||||
"Object",
|
"Object",
|
||||||
"PromptTemplate",
|
"PromptTemplate",
|
||||||
"RangeSpec",
|
"RangeSpec",
|
||||||
"Text",
|
|
||||||
"TextSplitter",
|
"TextSplitter",
|
||||||
"Tool",
|
"Tool",
|
||||||
"VectorStore",
|
"VectorStore",
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ Retriever = TypeVar(
|
||||||
BaseRetriever,
|
BaseRetriever,
|
||||||
VectorStoreRetriever,
|
VectorStoreRetriever,
|
||||||
)
|
)
|
||||||
Text: TypeAlias = Message
|
|
||||||
|
|
||||||
|
|
||||||
class Object:
|
class Object:
|
||||||
|
|
@ -66,7 +65,6 @@ CUSTOM_COMPONENT_SUPPORTED_TYPES = {
|
||||||
"NestedDict": NestedDict,
|
"NestedDict": NestedDict,
|
||||||
"Data": Data,
|
"Data": Data,
|
||||||
"Message": Message,
|
"Message": Message,
|
||||||
"Text": Text,
|
|
||||||
"Object": Object,
|
"Object": Object,
|
||||||
"Callable": Callable,
|
"Callable": Callable,
|
||||||
"LanguageModel": LanguageModel,
|
"LanguageModel": LanguageModel,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue