qanary-component-relation-detection/relation-classifier
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
qanary-component-relation-detection/relation-classifier
Section titled “qanary-component-relation-detection/relation-classifier”- Package:
qanary-component-relation-detection - Source file:
apps/qanary-component-relation-detection/src/relation-classifier.ts
Summary
Section titled “Summary”Re-exported from ”./relation-types.ts”.
Functions
Section titled “Functions”classifyRelationType
Section titled “classifyRelationType”function classifyRelationType(question: string, modelFactory: () => ReturnType<typeof getLlmModel>): Promise<RelationClassification | null>Parameters
question(string)modelFactory(() => ReturnType) Returns Promise<RelationClassification | null>Defined at: line 84
Interfaces
Section titled “Interfaces”RelationClassification
Section titled “RelationClassification”interface RelationClassificationProperties
relationType(KnownRelationType)confidence(number) Defined at: line 27
Constants
Section titled “Constants”KNOWN_RELATION_TYPES_OLD
Section titled “KNOWN_RELATION_TYPES_OLD”const KNOWN_RELATION_TYPES_OLD: unknownDefined at: line 8
Members
Section titled “Members”getRelationTypeExplanation
Section titled “getRelationTypeExplanation”export { getRelationTypeExplanation }Re-exported from ”./relation-types.ts”.
Defined at: line 6
KNOWN_RELATION_TYPES
Section titled “KNOWN_RELATION_TYPES”export { KNOWN_RELATION_TYPES }Re-exported from ”./relation-types.ts”.
Defined at: line 6
KnownRelationType
Section titled “KnownRelationType”export { type KnownRelationType }Re-exported from ”./relation-types.ts”.
Defined at: line 6
In qanary-component-relation-detection
Section titled “In qanary-component-relation-detection”qanary-component-relation-detection/handlerqanary-component-relation-detection/indexqanary-component-relation-detection/relation-classifierqanary-component-relation-detection/relation-types