feat: Added Q/A Mode in Research Agent

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-06-03 00:10:35 -07:00
parent 4820caf901
commit 0c07898f4a
18 changed files with 792 additions and 42 deletions

View file

@ -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(