Update 7 - Erweitertes Research
release-tag / release-image (push) Successful in 2m22s

This commit is contained in:
2026-08-05 05:44:06 +02:00
parent b4388d1ebc
commit 8dc4de3eae
27 changed files with 3043 additions and 255 deletions
+78 -16
View File
@@ -153,24 +153,41 @@ type KnowledgeConflict struct {
Statements []string `json:"statements"`
SourceRefs []string `json:"source_refs"`
Resolution string `json:"resolution"`
Severity string `json:"severity"`
NeedsResearch bool `json:"needs_research"`
ResearchQuery string `json:"research_query"`
}
type KnowledgeGap struct {
ID string `json:"id"`
Description string `json:"description"`
Reason string `json:"reason,omitempty"`
ResearchQueries []string `json:"research_queries,omitempty"`
}
type ResolvedKnowledgeGap struct {
ID string `json:"id"`
Description string `json:"description"`
SourceRefs []string `json:"source_refs"`
}
type KnowledgeBrief struct {
Topic string `json:"topic"`
Purpose string `json:"purpose"`
Scope []GroundedStatement `json:"scope"`
Facts []GroundedStatement `json:"facts"`
Symptoms []GroundedStatement `json:"symptoms"`
Prerequisites []GroundedStatement `json:"prerequisites"`
SolutionSteps []GroundedStatement `json:"solution_steps"`
ValidationSteps []GroundedStatement `json:"validation_steps"`
Troubleshooting []GroundedStatement `json:"troubleshooting"`
Contradictions []KnowledgeConflict `json:"contradictions"`
MissingInformation []string `json:"missing_information"`
ResearchQueries []string `json:"research_queries"`
ReadyForArticle bool `json:"ready_for_article"`
Topic string `json:"topic"`
Purpose string `json:"purpose"`
Scope []GroundedStatement `json:"scope"`
Facts []GroundedStatement `json:"facts"`
Symptoms []GroundedStatement `json:"symptoms"`
Prerequisites []GroundedStatement `json:"prerequisites"`
SolutionSteps []GroundedStatement `json:"solution_steps"`
ValidationSteps []GroundedStatement `json:"validation_steps"`
Troubleshooting []GroundedStatement `json:"troubleshooting"`
Contradictions []KnowledgeConflict `json:"contradictions"`
CriticalGaps []KnowledgeGap `json:"critical_gaps"`
OptionalGaps []KnowledgeGap `json:"optional_gaps"`
ResolvedGaps []ResolvedKnowledgeGap `json:"resolved_gaps"`
MissingInformation []string `json:"missing_information"`
ResearchQueries []string `json:"research_queries"`
ReadyForArticle bool `json:"ready_for_article"`
}
type KnowledgeArticleContent struct {
@@ -178,6 +195,8 @@ type KnowledgeArticleContent struct {
ProblemDescription string `json:"problem_description"`
Scope string `json:"scope"`
Symptoms []string `json:"symptoms"`
KeyPoints []string `json:"key_points"`
DecisionCriteria []string `json:"decision_criteria"`
Prerequisites []string `json:"prerequisites"`
SolutionSteps []string `json:"solution_steps"`
ValidationSteps []string `json:"validation_steps"`
@@ -216,7 +235,50 @@ type AnswerDecision struct {
}
type ResearchResult struct {
Title string `json:"title"`
URL string `json:"url"`
Content string `json:"content"`
Title string `json:"title"`
URL string `json:"url"`
Snippet string `json:"snippet,omitempty"`
Content string `json:"content"`
ContentType string `json:"content_type,omitempty"`
Query string `json:"query,omitempty"`
Language string `json:"language,omitempty"`
Round int `json:"round,omitempty"`
Fetched bool `json:"fetched,omitempty"`
FetchError string `json:"fetch_error,omitempty"`
Relevant bool `json:"relevant,omitempty"`
Relevance float64 `json:"relevance,omitempty"`
SourceQuality string `json:"source_quality,omitempty"`
SourceQualityScore float64 `json:"source_quality_score,omitempty"`
Actionable bool `json:"actionable,omitempty"`
CoveredGapIDs []string `json:"covered_gap_ids,omitempty"`
AssessmentReason string `json:"assessment_reason,omitempty"`
}
type ResearchQuestion struct {
GapID string `json:"gap_id"`
Question string `json:"question"`
Critical bool `json:"critical"`
ExpectActionable bool `json:"expect_actionable"`
QueriesDE []string `json:"queries_de"`
QueriesEN []string `json:"queries_en"`
PreferredDomains []string `json:"preferred_domains"`
}
type ResearchPlan struct {
Questions []ResearchQuestion `json:"questions"`
}
type ResearchCandidateAssessment struct {
Index int `json:"index"`
Relevant bool `json:"relevant"`
Relevance float64 `json:"relevance"`
SourceQuality string `json:"source_quality"`
SourceQualityScore float64 `json:"source_quality_score"`
Actionable bool `json:"actionable"`
CoveredGapIDs []string `json:"covered_gap_ids"`
Reason string `json:"reason"`
}
type ResearchAssessmentBatch struct {
Assessments []ResearchCandidateAssessment `json:"assessments"`
}