AxSimpleClassifierClass
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/dsp/classifier.ts#L12
Constructors
Constructor
new AxSimpleClassifierClass(name: string, context: readonly string[]): AxSimpleClassifierClass;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/dsp/classifier.ts#L16
Parameters
Parameter | Type |
---|---|
name | string |
context | readonly string [] |
Returns
AxSimpleClassifierClass
Methods
getContext()
getContext(): readonly string[];
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/dsp/classifier.ts#L25
Returns
readonly string
[]
getName()
getName(): string;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/dsp/classifier.ts#L21
Returns
string