Skip to content

Agent Sample

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

Field Value
Resource generativeaiagent/Agent
API Version generativeaiagent.oracle.com/v1beta1
Source Path config/samples/generativeaiagent_v1beta1_agent.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 OCID and tune the Agent metadata below before running e2e.
# Keeping spec.displayName empty disables pre-create reuse; setting it allows the controller
# to bind to an existing Generative AI Agent Agent with the same compartmentId and displayName.
#
apiVersion: generativeaiagent.oracle.com/v1beta1
kind: Agent
metadata:
  name: agent-sample
spec:
  compartmentId: ocid1.compartment.oc1..exampleuniqueID
  displayName: osok-generativeaiagent-agent-sample
  description: OSOK Generative AI Agent Agent sample
  welcomeMessage: Hello from the OSOK Generative AI Agent sample.
  freeformTags:
    managed-by: oci-service-operator