Refactor Retriever class in constants.py for better organization
The Retriever class in constants.py has been refactored to improve code organization. This change separates the class definition from the rest of the code, making it easier to read and maintain.
This commit is contained in:
parent
e27583c3f9
commit
80d0b3e625
1 changed files with 4 additions and 1 deletions
|
|
@ -18,7 +18,10 @@ from langchain_text_splitters import TextSplitter
|
|||
|
||||
NestedDict: TypeAlias = Dict[str, Union[str, Dict]]
|
||||
LanguageModel = TypeVar("LanguageModel", BaseLanguageModel, BaseLLM, BaseChatModel)
|
||||
Retriever: TypeAlias = BaseRetriever
|
||||
|
||||
|
||||
class Retriever(BaseRetriever):
|
||||
pass
|
||||
|
||||
|
||||
class Object:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue