Fix/langchain document schema (#2539)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong 2024-02-23 14:16:44 +08:00 committed by GitHub
commit 91ea6fe4ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 983 additions and 22 deletions

View file

@ -1,8 +1,7 @@
from typing import Optional
from langchain.schema import Document
from core.model_manager import ModelInstance
from core.rag.models.document import Document
class RerankRunner: