Updating an Endpoint

Update an endpoint’s name, description, content moderation setting, and tags in OCI Generative AI.

    1. On the Endpoints list page, select the endpoint that you want to work with. If you need help finding the list page for endpoints, see Listing Endpoints.
    2. From the Actions menu (three dots), select Edit.
    3. Update the name, description, and version.
    4. Update the name and description, as needed.
    5. Update the options for the following guardrail.
      • Content moderation
        • Off: Don't apply content moderation and output explicit content.
        • Block: Help identify and apply content moderation.
        • Inform: Don't apply content moderation, but aim to inform the user if the model detects content that needs moderation.
    6. Select Update.
    7. (Optional) Update the tags for this endpoint.
  • Use the endpoint update command and required parameters to update an endpoint:

    oci generative-ai endpoint update 
    --endpoint-id <endpoint-OCID> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the UpdateEndpoint operation to update an endpoint.