Command Light

Command Light

Command Light

by

Cohere

Model ID:

command-light

Use This Model

Model Overview

FAQs

Related Links

Overview

Command Light is engineered as a more streamlined and efficient version of the standard Command model. It prioritizes speed and responsiveness without significantly compromising on capability, striking an optimal balance between performance and resource utilization. Command Light is ideal for applications that require quick turnaround times or need to process high volumes of requests, making it particularly suited for real-time interactions and resource-constrained environments.

Specializations

  • Versatile instruction-following capabilities for a wide range of tasks.

  • Improved reliability and context handling compared to base models.

  • Balanced performance suitable for general-purpose AI applications.

  • Efficient processing of moderate-length contexts (up to 4,000 tokens).

  • Strong language understanding and generation across various domains.

  • Good performance in multi-lingual tasks.

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-light',

});

console.log(chatCompletion.choices[0].message.content);

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