fix(confidence-engine): supply focused deconstruction schema
This commit is contained in:
@@ -9,6 +9,20 @@ const FOCUSED_ANSWER_SCHEMA_FIELDS = [
|
||||
"possibleFollowUpQuestions",
|
||||
];
|
||||
|
||||
export const focusedDeconstructJsonSchema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
targetNodeId: { type: "string" },
|
||||
observations: { type: "array", items: { type: "string" } },
|
||||
uncertainties: { type: "array", items: { type: "string" } },
|
||||
assumptions: { type: "array", items: { type: "string" } },
|
||||
relationships: { type: "array", items: { type: "object" } },
|
||||
possibleFollowUpQuestions: { type: "array", items: { type: "string" } },
|
||||
},
|
||||
required: FOCUSED_ANSWER_SCHEMA_FIELDS,
|
||||
additionalProperties: false,
|
||||
};
|
||||
|
||||
const FORBIDDEN_GRAPH_MUTATION_FIELDS = [
|
||||
"addedNodes",
|
||||
"updatedNodes",
|
||||
|
||||
Reference in New Issue
Block a user