mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-12 22:23:01 +02:00
Enrichment prompts, prompt improvements, dispatch logging & reinsert empty tool response
This commit is contained in:
committed by
Evan Lohn
parent
4e17fc06ff
commit
7e98936c58
@ -5,6 +5,7 @@ from pydantic import BaseModel
|
||||
from pydantic import model_validator
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
from onyx.agents.agent_search.shared_graph_utils.models import PersonaExpressions
|
||||
from onyx.chat.prompt_builder.answer_prompt_builder import AnswerPromptBuilder
|
||||
from onyx.context.search.models import SearchRequest
|
||||
from onyx.file_store.utils import InMemoryChatFile
|
||||
@ -91,3 +92,9 @@ class AgentDocumentCitations(BaseModel):
|
||||
document_id: str
|
||||
document_title: str
|
||||
link: str
|
||||
|
||||
|
||||
class AgentPromptEnrichmentComponents(BaseModel):
|
||||
persona_prompts: PersonaExpressions
|
||||
history: str
|
||||
date_str: str
|
||||
|
Reference in New Issue
Block a user