@@ -143,6 +143,58 @@ type ArticlePlanDecision struct {
|
||||
ResearchQuery string `json:"research_query"`
|
||||
}
|
||||
|
||||
type GroundedStatement struct {
|
||||
Text string `json:"text"`
|
||||
SourceRefs []string `json:"source_refs"`
|
||||
}
|
||||
|
||||
type KnowledgeConflict struct {
|
||||
Topic string `json:"topic"`
|
||||
Statements []string `json:"statements"`
|
||||
SourceRefs []string `json:"source_refs"`
|
||||
Resolution string `json:"resolution"`
|
||||
NeedsResearch bool `json:"needs_research"`
|
||||
ResearchQuery string `json:"research_query"`
|
||||
}
|
||||
|
||||
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"`
|
||||
}
|
||||
|
||||
type KnowledgeArticleContent struct {
|
||||
Title string `json:"title"`
|
||||
ProblemDescription string `json:"problem_description"`
|
||||
Scope string `json:"scope"`
|
||||
Symptoms []string `json:"symptoms"`
|
||||
Prerequisites []string `json:"prerequisites"`
|
||||
SolutionSteps []string `json:"solution_steps"`
|
||||
ValidationSteps []string `json:"validation_steps"`
|
||||
Troubleshooting []string `json:"troubleshooting"`
|
||||
Categories []string `json:"categories"`
|
||||
Keywords []string `json:"keywords"`
|
||||
OpenQuestions []string `json:"open_questions"`
|
||||
}
|
||||
|
||||
type ArticleQualityDecision struct {
|
||||
Accepted bool `json:"accepted"`
|
||||
Confidence float64 `json:"confidence"`
|
||||
MetaContentDetected bool `json:"meta_content_detected"`
|
||||
UnsupportedClaims []string `json:"unsupported_claims"`
|
||||
Issues []string `json:"issues"`
|
||||
}
|
||||
|
||||
type KnowledgeArticleDraft struct {
|
||||
Title string `json:"title"`
|
||||
Text string `json:"text"`
|
||||
|
||||
Reference in New Issue
Block a user