Enforce all IO objects to be subclassed from Document (#88)
* enforce Document as IO * Separate rerankers, splitters and extractors (#85) * partially refractor importing * add text to embedding outputs --------- Co-authored-by: Nguyen Trung Duc (john) <trungduc1992@gmail.com>
This commit is contained in:
@@ -5,8 +5,9 @@ from typing import Any, Dict, Optional, Type, Union
|
||||
|
||||
import yaml
|
||||
|
||||
from ...base import BaseComponent
|
||||
from ...chatbot import BaseChatBot
|
||||
from kotaemon.base import BaseComponent
|
||||
from kotaemon.chatbot import BaseChatBot
|
||||
|
||||
from .base import DEFAULT_COMPONENT_BY_TYPES
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user