Skip to content

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

Re-exported from ”./relation-types.ts”.

function classifyRelationType(question: string, modelFactory: () => ReturnType<typeof getLlmModel>): Promise<RelationClassification | null>

Parameters

  • question (string)
  • modelFactory (() => ReturnType) Returns
  • Promise<RelationClassification | null> Defined at: line 84
interface RelationClassification

Properties

  • relationType (KnownRelationType)
  • confidence (number) Defined at: line 27
const KNOWN_RELATION_TYPES_OLD: unknown

Defined at: line 8

export { getRelationTypeExplanation }

Re-exported from ”./relation-types.ts”.

Defined at: line 6

export { KNOWN_RELATION_TYPES }

Re-exported from ”./relation-types.ts”.

Defined at: line 6

export { type KnownRelationType }

Re-exported from ”./relation-types.ts”.

Defined at: line 6