Update UI and prompts
This commit is contained in:
@@ -54,6 +54,16 @@ class ContextUpdate(BaseModel):
|
||||
)
|
||||
|
||||
|
||||
class FilterResult(BaseModel):
|
||||
contextual_info: str = Field(
|
||||
...,
|
||||
description="Information interesting to the user but not useful for structured extraction",
|
||||
)
|
||||
filtered_text: str = Field(
|
||||
..., description="Cleaned transcript used for structured data extraction"
|
||||
)
|
||||
|
||||
|
||||
class ExtractionResult(BaseModel):
|
||||
lore_updates: List[LoreUpdate] = Field(
|
||||
default_factory=list, description="List of discovered lore facts", alias="lore"
|
||||
@@ -68,6 +78,11 @@ class ExtractionResult(BaseModel):
|
||||
description="List of significant plot points or events",
|
||||
alias="events",
|
||||
)
|
||||
context_updates: List[ContextUpdate] = Field(
|
||||
default_factory=list,
|
||||
description="List of context updates",
|
||||
alias="context",
|
||||
)
|
||||
|
||||
class Config:
|
||||
populate_by_name = True
|
||||
|
||||
Reference in New Issue
Block a user