Fix/langchain document schema (#2539)
Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
parent
769be13189
commit
91ea6fe4ee
15 changed files with 983 additions and 22 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue