Overview of Cohere Toolkit architecture
mainCohere Toolkit is an all-in-one RAG (Retrieval-Augmented Generation) application consisting of several layers:
- Interfaces: Client-side UIs. The default is a Next.js web app located at
src/interfaces/assistants_webwhich includes a SQL database for conversation history. Other interfaces include a Slack bot implementation. - Backend API: Located in
src/backend, this follows a structure similar to the Cohere Chat API but allows for customization of:- Model: Choose between providers like Cohere's Platform, Sagemaker, Azure, Bedrock, HuggingFace, or local models.
- Retrieval: Customize tools and data sources.
- Deployment: Supports production deployment on AWS, GCP, and Azure.