Overview
Command serves as the cornerstone of Cohere's instruction-following conversational models. It offers high-quality language task performance with improved reliability and an extended context compared to Cohere's base generative models. Command is designed to handle a diverse array of language tasks efficiently, making it a solid choice for general-purpose AI applications that require strong language understanding and generation capabilities.
Specializations
Excels at text classification and content moderation tasks, with robust ability to categorize content across multiple dimensions.
Well-suited for semantic search and information retrieval applications, especially when dealing with domain-specific terminology.
Strong at summarization tasks, particularly maintaining key context while condensing long documents or conversations.
Integration Guide (Javascript)
To use this model through Portkey, follow these steps:
1. Install Portkey SDK:
npm install --save portkey-ai
2. Set up client with Portkey:
import Portkey from 'portkey-ai'
const portkey = new Portkey({
apiKey: "PORTKEY_API_KEY",
virtualKey: "VIRTUAL_KEY" // Your Cohere Virtual Key
})
3. Make a request:
const chatCompletion = await portkey.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'command',
});
console.log(chatCompletion.choices[0].message.content);
Live API Statistics and Performace Metrics
LMSys Arena Elo Score:
Arena Score
LMSys Leaderboard Rank:
0
Arena Rank
Evaluates LLMs through a combination of user feedback and automated scoring systems.
Model Specifications
Release Date:
25/4/2023
Max. Context Tokens:
4K
Max. Output Tokens:
4K
License:
Proprietary
Technical Report/Model Card:
© 2024 Portkey, Inc. All rights reserved