mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 06:00:29 -04:00
refactor: replace bare dict with typed annotations in core rag module (#35097)
This commit is contained in:
@@ -11,7 +11,7 @@ class Embeddings(ABC):
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def embed_multimodal_documents(self, multimodel_documents: list[dict]) -> list[list[float]]:
|
||||
def embed_multimodal_documents(self, multimodel_documents: list[dict[str, Any]]) -> list[list[float]]:
|
||||
"""Embed file documents."""
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
Reference in New Issue
Block a user