Skip to content

Endpoint Sample

This page is generated from the checked-in sample manifest at config/samples/generativeai_v1beta1_endpoint.yaml.

Field Value
Resource generativeai/Endpoint
API Version generativeai.oracle.com/v1beta1
Source Path config/samples/generativeai_v1beta1_endpoint.yaml
#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#

#
# Replace the compartment, model, and DedicatedAiCluster OCIDs before running e2e.
# The controller may bind an existing Endpoint only when the returned OCI list item
# matches spec.compartmentId, spec.modelId, spec.dedicatedAiClusterId, and any
# populated spec.displayName.
#
apiVersion: generativeai.oracle.com/v1beta1
kind: Endpoint
metadata:
  name: endpoint-sample
spec:
  compartmentId: ocid1.compartment.oc1..exampleuniqueID
  modelId: ocid1.generativeaimodel.oc1..exampleuniqueID
  dedicatedAiClusterId: ocid1.generativeaidedicatedaicluster.oc1..exampleuniqueID
  displayName: osok-endpoint-sample
  description: OSOK Endpoint sample
  contentModerationConfig:
    isEnabled: false
  freeformTags:
    managed-by: oci-service-operator