Interface: ClassificationType
ragCore.ClassificationType
Properties
description
• description: string
A description of the classification type.
Example
"Example of how to use a library or function"
Example
"A change that is internal to the project and not exposed to the public API"
Defined in
mongodb-rag-core/build/makeClassifier.d.ts:24
examples
• Optional
examples: { reason?
: string
; text
: string
}[]
Useful for few-shot prompting examples in the system prompt
Defined in
mongodb-rag-core/build/makeClassifier.d.ts:28
type
• type: string
The classification type label.
Example
"usage_example"
Example
"api_reference"
Example
"internal"
Example
"external"
Defined in
mongodb-rag-core/build/makeClassifier.d.ts:18