feat: add extractionPipeline to process source text and handbook updates into a structured knowledge graph
This commit is contained in:
@@ -2,9 +2,9 @@ import { anthropicApi } from './api';
|
||||
import * as db from './db';
|
||||
|
||||
const SYSTEM_PROMPT = `You are an AI knowledge extractor for Respellion, an IT company built on radical transparency.
|
||||
You receive a source text. Your task is to extract core concepts, roles, and processes, and return them as a structured JSON Knowledge Graph.
|
||||
You receive a source text. Your task is to extract all core concepts, roles, and processes from the text, and return them as a structured JSON Knowledge Graph.
|
||||
Facts should be integrated into the descriptions of the other labels and NOT be extracted as unique topics.
|
||||
CRITICAL: To ensure the response fits within limits, extract a maximum of 15 key topics and their most important relations. Keep descriptions very concise.
|
||||
CRITICAL: Extract all relevant topics and roles mentioned in the source text. Keep descriptions very concise.
|
||||
|
||||
You MUST assign a learning_relevance to each topic:
|
||||
- "core": Fundamental company knowledge.
|
||||
|
||||
Reference in New Issue
Block a user