IDIADA optimizes AIDA chatbot interaction routing using Amazon Bedrock classifiers
As AIDA's user interactions grew more complex over time—from simple queries to document translations, service requests, and specialized inquiries—a coherent system was needed to categorize those interactions and route each one to a more specialized pipeline.
LLM-based classification with examples improved accuracy but faced critical scalability limits: the volume of examples required caused infrastructure overflow, quota issues with Amazon Bedrock, and runtimes up to 18 seconds—unacceptable for user experience.
SVM and ANN models using Cohere's multilingual embeddings achieved the best balance of performance and speed, with the SVM reaching F1 scores of 0.99, 0.80, and 0.93 across the three classes at a runtime of approximately 0.3 seconds—far faster than the LLM's 1.2 seconds and LLM with examples' 18 seconds.
Show all 9 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
SVM and ANN models using Cohere's multilingual embeddings achieved the best balance of performance and speed, with the SVM reaching F1 scores of 0.99, 0.80, and 0.93 across the three classes at a runtime of approximat…
What tools did this team use?
Amazon Bedrock, Claude 3 Sonnet, LangChain, Boto3, Amazon Titan Text Embeddings G1, Amazon S3, Cohere, scikit-learn, Keras, TensorFlow.
What results were reported?
ANN Cohere Document Translation F1: 0.96; LLM Services F1 (baseline): 0.22; LLM Document Translation F1 (baseline): 0.46; LLM inference runtime: approximately 1.2 seconds (source-reported, not independently verified).
What failed first in this deployment?
LLM-based classification with examples improved accuracy but faced critical scalability limits: the volume of examples required caused infrastructure overflow, quota issues with Amazon Bedrock, and runtimes up to 18 s…
How is this back office ops AI workflow structured?
User submits request to AIDA → Classifier identifies interaction type → Route to specialized pipeline → Specialized pipeline delivers response.