Move Document and other interface into base/schema (#69)
This commit is contained in:
committed by
GitHub
parent
4704e2c11a
commit
8532138842
@@ -2,9 +2,8 @@ from typing import List, Optional
|
||||
|
||||
from theflow import Param
|
||||
|
||||
from kotaemon.base import BaseComponent
|
||||
from kotaemon.base import BaseComponent, Document
|
||||
from kotaemon.composite.linear import GatedLinearPipeline
|
||||
from kotaemon.documents.base import Document
|
||||
|
||||
|
||||
class SimpleBranchingPipeline(BaseComponent):
|
||||
|
@@ -1,7 +1,7 @@
|
||||
from typing import Any, Callable, Optional, Union
|
||||
|
||||
from kotaemon.base import BaseComponent
|
||||
from kotaemon.documents.base import Document, IO_Type
|
||||
from kotaemon.base.schema import Document, IO_Type
|
||||
from kotaemon.llms.chats.base import ChatLLM
|
||||
from kotaemon.llms.completions.base import LLM
|
||||
from kotaemon.prompt.base import BasePromptComponent
|
||||
|
Reference in New Issue
Block a user