Interface: OntologyRagRequest
@kortexya/reasoninglayer / OntologyRagRequest
Interface: OntologyRagRequest
Section titled “Interface: OntologyRagRequest”Defined in: src/types/rag.ts:174
Request body for the Ontology RAG endpoint.
Remarks
Section titled “Remarks”Performs True Ontology RAG combining embedding search with
feature unification. The caller provides feature names via feature_config
and is responsible for interpreting the results in a domain-specific context.
Properties
Section titled “Properties”conceptSortId
Section titled “conceptSortId”conceptSortId:
string
Defined in: src/types/rag.ts:176
Sort ID for concept terms.
conceptValues?
Section titled “conceptValues?”
optionalconceptValues?:Record<string,number> |null
Defined in: src/types/rag.ts:181
Optional map of concept_id to numeric value (e.g., mastery, score, confidence). The interpretation of these values is domain-specific.
featureConfig?
Section titled “featureConfig?”
optionalfeatureConfig?:FeatureConfigDto|null
Defined in: src/types/rag.ts:186
Feature configuration – allows caller to specify feature names. If not provided, uses defaults.
includeDependents?
Section titled “includeDependents?”
optionalincludeDependents?:boolean
Defined in: src/types/rag.ts:188
Whether to include dependents (default: true).
includePrerequisites?
Section titled “includePrerequisites?”
optionalincludePrerequisites?:boolean
Defined in: src/types/rag.ts:190
Whether to include prerequisites (default: true).
includeRelated?
Section titled “includeRelated?”
optionalincludeRelated?:boolean
Defined in: src/types/rag.ts:192
Whether to include related concepts (default: true).
maxConcepts?
Section titled “maxConcepts?”
optionalmaxConcepts?:number
Defined in: src/types/rag.ts:194
Maximum concepts to retrieve (default: 10).
minDegree?
Section titled “minDegree?”
optionalminDegree?:number
Defined in: src/types/rag.ts:196
Minimum similarity degree (0.0-1.0, default: 0.7).
queryText
Section titled “queryText”queryText:
string
Defined in: src/types/rag.ts:198
The query text to search for.
valueThreshold?
Section titled “valueThreshold?”
optionalvalueThreshold?:number|null
Defined in: src/types/rag.ts:200
Optional threshold for concept_values to flag items (e.g., gaps below threshold).