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 guardrails.
      • 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.
      • Prompt injection (PI) protection
        • Off: Don't apply PI protection and allow unrestricted input.
        • Block: Help identify and protect against prompt injection.
        • Inform: Don't apply PI protection, but aim to inform the user if the model detects content that needs PI protection.
      • Personally identifiable information (PII) protection
        • Off: Don't apply PII protection, Instead, output content without data exposure restrictions.
        • Block: Help identify and protect PII such as help remove personal data from responses.
        • Inform: Don't apply PII protection, but aim to inform the user if the model detects content that needs PII protection.
    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.