Skip to main content

Function: createMLClassifierExtensionPack()

createMLClassifierExtensionPack(context): ExtensionPack

Defined in: packages/agentos/src/extensions/packs/ml-classifiers/index.ts:381

AgentOS manifest factory function.

Conforms to the convention expected by the extension loader when resolving packs from manifests. Extracts options from the ExtensionPackContext and delegates to createMLClassifierPack.

Parameters

context

ExtensionPackContext

Manifest context containing optional pack options, secret resolver, and shared service registry.

Returns

ExtensionPack

A fully-configured ExtensionPack.

Example

{
"packs": [
{
"module": "./ml-classifiers",
"options": {
"classifiers": ["toxicity", "jailbreak"],
"thresholds": { "blockThreshold": 0.95 },
"streamingMode": true
}
}
]
}