OBJECT

PrecomputedMetadata

link GraphQL Schema definition

  • type PrecomputedMetadata implements Node {
  • id: ID!
  • # Type of source entity: 'article', 'video', 'post', 'ebsco_article'
  • sourceType: String!
  • # ID of the source entity
  • sourceID: Int!
  • # AI-generated or improved title
  • title: String
  • # AI-generated summary
  • summary: String
  • # AI-generated reflective questions
  • reflectiveNudges: [String!]
  • # AI-generated discussion points
  • discussionPoints: [String!]
  • # AI-classified topic names
  • topicNames: [String!]
  • # Educational value score (0-5) for each provider type that this content targets
  • providerTypeEducationalValue: Map
  • # Brief reasoning for why content is valuable to each provider type
  • providerTypeReasoning: Map
  • # High-level questions this content answers, for semantic search. Each has:
  • # question, context (clinical/educational), scope (broad/focused)
  • stepBackQuestions: Map
  • # Key terms extracted from content
  • terms: [String!]
  • termFrequencies: Map
  • # AI-extracted key medical insights as self-contained paragraphs
  • medicalInsights: [String!]
  • # Classification scores from curriculum classifier
  • classificationScores: [ClassificationScore!]
  • # AI model used for generation
  • model: String!
  • # Version of prompt template used
  • promptVersion: String
  • # Prompt value used for generation
  • promptValue: String
  • # When this metadata was computed
  • createdAt: Time!
  • # Number of tokens in the input/prompt
  • inputTokens: Int
  • # Number of tokens in the output/completion
  • outputTokens: Int
  • # Total tokens used (input + output)
  • totalTokens: Int
  • status: PrecomputedMetadataStatus!
  • # Error message if computation failed
  • errorMessage: String
  • post: Post
  • }

link Require by