mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-15 18:25:18 +02:00
feat: Added Q/A Mode in Research Agent
This commit is contained in:
parent
4820caf901
commit
0c07898f4a
18 changed files with 792 additions and 42 deletions
|
|
@ -13,6 +13,13 @@ class SearchMode(Enum):
|
|||
CHUNKS = "CHUNKS"
|
||||
DOCUMENTS = "DOCUMENTS"
|
||||
|
||||
class ResearchMode(Enum):
|
||||
"""Enum defining the type of research mode."""
|
||||
QNA = "QNA"
|
||||
REPORT_GENERAL = "REPORT_GENERAL"
|
||||
REPORT_DEEP = "REPORT_DEEP"
|
||||
REPORT_DEEPER = "REPORT_DEEPER"
|
||||
|
||||
|
||||
@dataclass(kw_only=True)
|
||||
class Configuration:
|
||||
|
|
@ -25,7 +32,7 @@ class Configuration:
|
|||
user_id: str
|
||||
search_space_id: int
|
||||
search_mode: SearchMode
|
||||
|
||||
research_mode: ResearchMode
|
||||
|
||||
@classmethod
|
||||
def from_runnable_config(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue