diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 7e0dec73..8f178b56 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -47,10 +47,11 @@ export default defineConfig({ items: [ { label: 'Bedrock Classifier', link: '/classifiers/built-in/bedrock-classifier'}, { label: 'Anthropic Classifier', link: '/classifiers/built-in/anthropic-classifier' }, + { label: 'OpenAI Classifier', link: '/classifiers/built-in/openai-classifier' }, ] }, { label: 'Custom Classifier', link: '/classifiers/custom-classifier' }, - + ] }, { @@ -72,7 +73,7 @@ export default defineConfig({ ] }, { label: 'Custom Agents', link: '/agents/custom-agents' }, - + ] }, { diff --git a/docs/src/content/docs/classifiers/built-in/openai-classifier.mdx b/docs/src/content/docs/classifiers/built-in/openai-classifier.mdx index e46a7d21..037d29aa 100644 --- a/docs/src/content/docs/classifiers/built-in/openai-classifier.mdx +++ b/docs/src/content/docs/classifiers/built-in/openai-classifier.mdx @@ -14,7 +14,7 @@ The OpenAI Classifier extends the abstract `Classifier` class and uses the OpenA - Supports custom system prompts and variables - Handles conversation history for context-aware classification -### Basic Usage +## Basic Usage To use the OpenAIClassifier, you need to create an instance with your OpenAI API key and pass it to the Multi-Agent Orchestrator: @@ -35,7 +35,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; -### Custom Configuration +## Custom Configuration You can customize the OpenAIClassifier by providing additional options: