From a976f0d57fca3fb615ca1b484758b3bdb11ade7d Mon Sep 17 00:00:00 2001 From: Anthony Bernabeu <64135631+brnaba-aws@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:23:48 +0100 Subject: [PATCH] added openai classifier to documentation --- docs/astro.config.mjs | 5 +++-- .../content/docs/classifiers/built-in/openai-classifier.mdx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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: