Summarize Text in Generative AI
Use a cohere.command
model hosted on a dedicated AI cluster in OCI
Generative AI to summarize text by using a specific format, length, and tone.
Important
The
The
cohere.command
model supported for the on-demand serving mode is now retired and this model is deprecated for the dedicated serving mode. If you're hosting cohere.command
on a dedicated AI cluster, (dedicated serving mode) for summarization, you can continue to use this hosted model replica with the summarization API and in the playground until the cohere.command
model retires for the dedicated serving mode. These models, when hosted on a dedicated AI cluster are only available in US Midwest (Chicago). See Retiring the Models for retirement dates and definitions. We recommend that you use the chat models instead which offer the same summarization capabilities, including control over summary length and style.To summarize text, use the summarize-text-result operation.
Enter the following command for a list of options to summarize text.
oci generative-ai-inference summarize-text-result summarize-text -h
For a complete list of parameters and values for the OCIGenerative AI CLI commands, see Generative AI Inference CLI and Generative AI Management CLI.
Run the SummarizeText operation to summarize text.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.