Using the Summarization Model

 Important



Pre-General Availability: 2023-09-18

The following legal notice applies to Oracle pre-GA (Beta) releases. For copyright and other applicable notices, see Oracle Legal Notices.

Pre-General Availability Draft Documentation Notice

This documentation is in pre-General Availability status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.

This documentation is not a commitment by Oracle to deliver any material, code, functionality or services. This documentation, and Oracle Pre-GA programs and services are subject to change at any time without notice and, accordingly, should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality for Oracle’s Pre-GA programs and services remains at the sole discretion of Oracle. All release dates or other predictions of future events are subject to change. The future availability of any future Oracle program or service should not be relied on in entering into any license or service agreement with Oracle.

In the navigation bar of the Console, choose a region that hosts Generative AI, for example, US Midwest (Chicago). If you don't know which region to choose, see Regions with Generative AI.
Open the navigation menu and click Analytics & AI. Under AI Services, click Generative AI.
In the left navigation, choose a compartment that you have permission to work in. If you don't see the playground, ask an administrator to give you access to Generative AI resources and then return to the following steps.
Click Playground.
Choose a model for generating text by performing one of the following actions:
In the Model drop-down list, under Summarization, choose the cohere.command model.
Click View model details, choose a model with Text summarization capability, and then click Choose model.
Either paste a text to be summarized into the Input area, or select an example from the Example list.
For the examples, the parameters are already set for you and it's optional to change them. If you entered your own text to be summarized, in the Parameters section, choose an approximate Length for the summary:
Short: Up to 2 sentences
Medium: between 3 and 5 sentences
Long: 6 or more sentences
Auto: Let the model choose a length based on the input size
For the Format parameter, choose the generated summary to be a free-form paragraph or in bullet points.
(Optional) Set new values for the other parameters. For parameter details, see Summarization Model Parameters.
Click Summarize.
(Optional) Update the parameters and click Summarize. Repeat this step until you're happy with the summary.
When you're happy with the result, click Copy output to copy the summary to your clipboard.
(Optional) Click View code, select a programming Language, click Copy code, and paste the code into a file and save the code. Ensure that your file maintains the format of the pasted code.
 Tip

If you're using the code in your applications, ensure that you authenticate your code.
(Optional) Click Clear to clear the input area and input a new text to summarize.
 Note

When you click Clear the model parameters reset to their default values.