published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi
This resource provides the Project resource in Oracle Cloud Infrastructure Generative AI service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai/latest/GenerativeAiProject
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/generative_ai
Creates a GenerativeAiProject. The header contains an opc-work-request-id, which is the id for the WorkRequest that tracks the generativeAiProject creation progress.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProject = new oci.generativeai.Project("test_project", {
compartmentId: compartmentId,
conversationConfig: {
conversationsRetentionInHours: Number(projectConversationConfigConversationsRetentionInHours),
responsesRetentionInHours: Number(projectConversationConfigResponsesRetentionInHours),
},
definedTags: {
"Operations.CostCenter": "42",
},
description: projectDescription,
displayName: projectDisplayName,
freeformTags: {
Department: "Finance",
},
longTermMemoryConfig: {
standardLongTermMemoryStrategy: {
isEnabled: projectLongTermMemoryConfigStandardLongTermMemoryStrategyIsEnabled === "true",
embeddingConfig: {
llmSelection: {
llmSelectionType: projectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionLlmSelectionType,
modelId: testModel.id,
},
},
extractionConfig: {
llmSelection: {
llmSelectionType: projectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionLlmSelectionType,
modelId: testModel.id,
},
},
},
},
shortTermMemoryOptimizationConfig: {
isEnabled: projectShortTermMemoryOptimizationConfigIsEnabled === "true",
condenserConfig: {
llmSelection: {
llmSelectionType: projectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionLlmSelectionType,
modelId: testModel.id,
},
},
},
});
import pulumi
import pulumi_oci as oci
test_project = oci.generativeai.Project("test_project",
compartment_id=compartment_id,
conversation_config={
"conversations_retention_in_hours": int(project_conversation_config_conversations_retention_in_hours),
"responses_retention_in_hours": int(project_conversation_config_responses_retention_in_hours),
},
defined_tags={
"Operations.CostCenter": "42",
},
description=project_description,
display_name=project_display_name,
freeform_tags={
"Department": "Finance",
},
long_term_memory_config={
"standard_long_term_memory_strategy": {
"is_enabled": project_long_term_memory_config_standard_long_term_memory_strategy_is_enabled == "true",
"embedding_config": {
"llm_selection": {
"llm_selection_type": project_long_term_memory_config_standard_long_term_memory_strategy_embedding_config_llm_selection_llm_selection_type,
"model_id": test_model["id"],
},
},
"extraction_config": {
"llm_selection": {
"llm_selection_type": project_long_term_memory_config_standard_long_term_memory_strategy_extraction_config_llm_selection_llm_selection_type,
"model_id": test_model["id"],
},
},
},
},
short_term_memory_optimization_config={
"is_enabled": project_short_term_memory_optimization_config_is_enabled == "true",
"condenser_config": {
"llm_selection": {
"llm_selection_type": project_short_term_memory_optimization_config_condenser_config_llm_selection_llm_selection_type,
"model_id": test_model["id"],
},
},
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/generativeai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := generativeai.NewProject(ctx, "test_project", &generativeai.ProjectArgs{
CompartmentId: pulumi.Any(compartmentId),
ConversationConfig: &generativeai.ProjectConversationConfigArgs{
ConversationsRetentionInHours: pulumi.Any(projectConversationConfigConversationsRetentionInHours),
ResponsesRetentionInHours: pulumi.Any(projectConversationConfigResponsesRetentionInHours),
},
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(projectDescription),
DisplayName: pulumi.Any(projectDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
LongTermMemoryConfig: &generativeai.ProjectLongTermMemoryConfigArgs{
StandardLongTermMemoryStrategy: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyArgs{
IsEnabled: pulumi.Any(projectLongTermMemoryConfigStandardLongTermMemoryStrategyIsEnabled),
EmbeddingConfig: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigArgs{
LlmSelection: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionArgs{
LlmSelectionType: pulumi.Any(projectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionLlmSelectionType),
ModelId: pulumi.Any(testModel.Id),
},
},
ExtractionConfig: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigArgs{
LlmSelection: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionArgs{
LlmSelectionType: pulumi.Any(projectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionLlmSelectionType),
ModelId: pulumi.Any(testModel.Id),
},
},
},
},
ShortTermMemoryOptimizationConfig: &generativeai.ProjectShortTermMemoryOptimizationConfigArgs{
IsEnabled: pulumi.Any(projectShortTermMemoryOptimizationConfigIsEnabled),
CondenserConfig: &generativeai.ProjectShortTermMemoryOptimizationConfigCondenserConfigArgs{
LlmSelection: &generativeai.ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionArgs{
LlmSelectionType: pulumi.Any(projectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionLlmSelectionType),
ModelId: pulumi.Any(testModel.Id),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testProject = new Oci.GenerativeAi.Project("test_project", new()
{
CompartmentId = compartmentId,
ConversationConfig = new Oci.GenerativeAi.Inputs.ProjectConversationConfigArgs
{
ConversationsRetentionInHours = projectConversationConfigConversationsRetentionInHours,
ResponsesRetentionInHours = projectConversationConfigResponsesRetentionInHours,
},
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = projectDescription,
DisplayName = projectDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
LongTermMemoryConfig = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigArgs
{
StandardLongTermMemoryStrategy = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyArgs
{
IsEnabled = projectLongTermMemoryConfigStandardLongTermMemoryStrategyIsEnabled,
EmbeddingConfig = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigArgs
{
LlmSelection = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionArgs
{
LlmSelectionType = projectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionLlmSelectionType,
ModelId = testModel.Id,
},
},
ExtractionConfig = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigArgs
{
LlmSelection = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionArgs
{
LlmSelectionType = projectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionLlmSelectionType,
ModelId = testModel.Id,
},
},
},
},
ShortTermMemoryOptimizationConfig = new Oci.GenerativeAi.Inputs.ProjectShortTermMemoryOptimizationConfigArgs
{
IsEnabled = projectShortTermMemoryOptimizationConfigIsEnabled,
CondenserConfig = new Oci.GenerativeAi.Inputs.ProjectShortTermMemoryOptimizationConfigCondenserConfigArgs
{
LlmSelection = new Oci.GenerativeAi.Inputs.ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionArgs
{
LlmSelectionType = projectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionLlmSelectionType,
ModelId = testModel.Id,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GenerativeAi.Project;
import com.pulumi.oci.GenerativeAi.ProjectArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectConversationConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectLongTermMemoryConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectShortTermMemoryOptimizationConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectShortTermMemoryOptimizationConfigCondenserConfigArgs;
import com.pulumi.oci.GenerativeAi.inputs.ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testProject = new Project("testProject", ProjectArgs.builder()
.compartmentId(compartmentId)
.conversationConfig(ProjectConversationConfigArgs.builder()
.conversationsRetentionInHours(projectConversationConfigConversationsRetentionInHours)
.responsesRetentionInHours(projectConversationConfigResponsesRetentionInHours)
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(projectDescription)
.displayName(projectDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.longTermMemoryConfig(ProjectLongTermMemoryConfigArgs.builder()
.standardLongTermMemoryStrategy(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyArgs.builder()
.isEnabled(projectLongTermMemoryConfigStandardLongTermMemoryStrategyIsEnabled)
.embeddingConfig(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigArgs.builder()
.llmSelection(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionArgs.builder()
.llmSelectionType(projectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionLlmSelectionType)
.modelId(testModel.id())
.build())
.build())
.extractionConfig(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigArgs.builder()
.llmSelection(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionArgs.builder()
.llmSelectionType(projectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionLlmSelectionType)
.modelId(testModel.id())
.build())
.build())
.build())
.build())
.shortTermMemoryOptimizationConfig(ProjectShortTermMemoryOptimizationConfigArgs.builder()
.isEnabled(projectShortTermMemoryOptimizationConfigIsEnabled)
.condenserConfig(ProjectShortTermMemoryOptimizationConfigCondenserConfigArgs.builder()
.llmSelection(ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionArgs.builder()
.llmSelectionType(projectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionLlmSelectionType)
.modelId(testModel.id())
.build())
.build())
.build())
.build());
}
}
resources:
testProject:
type: oci:GenerativeAi:Project
name: test_project
properties:
compartmentId: ${compartmentId}
conversationConfig:
conversationsRetentionInHours: ${projectConversationConfigConversationsRetentionInHours}
responsesRetentionInHours: ${projectConversationConfigResponsesRetentionInHours}
definedTags:
Operations.CostCenter: '42'
description: ${projectDescription}
displayName: ${projectDisplayName}
freeformTags:
Department: Finance
longTermMemoryConfig:
standardLongTermMemoryStrategy:
isEnabled: ${projectLongTermMemoryConfigStandardLongTermMemoryStrategyIsEnabled}
embeddingConfig:
llmSelection:
llmSelectionType: ${projectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionLlmSelectionType}
modelId: ${testModel.id}
extractionConfig:
llmSelection:
llmSelectionType: ${projectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionLlmSelectionType}
modelId: ${testModel.id}
shortTermMemoryOptimizationConfig:
isEnabled: ${projectShortTermMemoryOptimizationConfigIsEnabled}
condenserConfig:
llmSelection:
llmSelectionType: ${projectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionLlmSelectionType}
modelId: ${testModel.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_generativeai_project" "test_project" {
compartment_id = compartmentId
conversation_config = {
conversations_retention_in_hours = projectConversationConfigConversationsRetentionInHours
responses_retention_in_hours = projectConversationConfigResponsesRetentionInHours
}
#Optional
defined_tags = {
"Operations.CostCenter" = "42"
}
description = projectDescription
display_name = projectDisplayName
freeform_tags = {
"Department" = "Finance"
}
long_term_memory_config = {
standard_long_term_memory_strategy = {
is_enabled = projectLongTermMemoryConfigStandardLongTermMemoryStrategyIsEnabled
embedding_config = {
llm_selection = {
llm_selection_type = projectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionLlmSelectionType
model_id = testModel.id
}
}
extraction_config = {
llm_selection = {
llm_selection_type = projectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionLlmSelectionType
model_id = testModel.id
}
}
}
}
#Required
#Required
#Required
short_term_memory_optimization_config = {
is_enabled = projectShortTermMemoryOptimizationConfigIsEnabled
condenser_config = {
llm_selection = {
llm_selection_type = projectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionLlmSelectionType
model_id = testModel.id
}
}
}
}
Create Project Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);@overload
def Project(resource_name: str,
args: ProjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Project(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
conversation_config: Optional[ProjectConversationConfigArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
long_term_memory_config: Optional[ProjectLongTermMemoryConfigArgs] = None,
short_term_memory_optimization_config: Optional[ProjectShortTermMemoryOptimizationConfigArgs] = None)func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
public Project(String name, ProjectArgs args)
public Project(String name, ProjectArgs args, CustomResourceOptions options)
type: oci:GenerativeAi:Project
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_generativeai_project" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleprojectResourceResourceFromGenerativeAiproject = new Oci.GenerativeAi.Project("exampleprojectResourceResourceFromGenerativeAiproject", new()
{
CompartmentId = "string",
ConversationConfig = new Oci.GenerativeAi.Inputs.ProjectConversationConfigArgs
{
ConversationsRetentionInHours = 0,
ResponsesRetentionInHours = 0,
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
LongTermMemoryConfig = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigArgs
{
StandardLongTermMemoryStrategy = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyArgs
{
IsEnabled = false,
EmbeddingConfig = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigArgs
{
LlmSelection = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionArgs
{
LlmSelectionType = "string",
ModelId = "string",
},
},
ExtractionConfig = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigArgs
{
LlmSelection = new Oci.GenerativeAi.Inputs.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionArgs
{
LlmSelectionType = "string",
ModelId = "string",
},
},
},
},
ShortTermMemoryOptimizationConfig = new Oci.GenerativeAi.Inputs.ProjectShortTermMemoryOptimizationConfigArgs
{
IsEnabled = false,
CondenserConfig = new Oci.GenerativeAi.Inputs.ProjectShortTermMemoryOptimizationConfigCondenserConfigArgs
{
LlmSelection = new Oci.GenerativeAi.Inputs.ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionArgs
{
LlmSelectionType = "string",
ModelId = "string",
},
},
},
});
example, err := generativeai.NewProject(ctx, "exampleprojectResourceResourceFromGenerativeAiproject", &generativeai.ProjectArgs{
CompartmentId: pulumi.String("string"),
ConversationConfig: &generativeai.ProjectConversationConfigArgs{
ConversationsRetentionInHours: pulumi.Int(0),
ResponsesRetentionInHours: pulumi.Int(0),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
LongTermMemoryConfig: &generativeai.ProjectLongTermMemoryConfigArgs{
StandardLongTermMemoryStrategy: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyArgs{
IsEnabled: pulumi.Bool(false),
EmbeddingConfig: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigArgs{
LlmSelection: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionArgs{
LlmSelectionType: pulumi.String("string"),
ModelId: pulumi.String("string"),
},
},
ExtractionConfig: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigArgs{
LlmSelection: &generativeai.ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionArgs{
LlmSelectionType: pulumi.String("string"),
ModelId: pulumi.String("string"),
},
},
},
},
ShortTermMemoryOptimizationConfig: &generativeai.ProjectShortTermMemoryOptimizationConfigArgs{
IsEnabled: pulumi.Bool(false),
CondenserConfig: &generativeai.ProjectShortTermMemoryOptimizationConfigCondenserConfigArgs{
LlmSelection: &generativeai.ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionArgs{
LlmSelectionType: pulumi.String("string"),
ModelId: pulumi.String("string"),
},
},
},
})
resource "oci_generativeai_project" "exampleprojectResourceResourceFromGenerativeAiproject" {
compartment_id = "string"
conversation_config = {
conversations_retention_in_hours = 0
responses_retention_in_hours = 0
}
defined_tags = {
"string" = "string"
}
description = "string"
display_name = "string"
freeform_tags = {
"string" = "string"
}
long_term_memory_config = {
standard_long_term_memory_strategy = {
is_enabled = false
embedding_config = {
llm_selection = {
llm_selection_type = "string"
model_id = "string"
}
}
extraction_config = {
llm_selection = {
llm_selection_type = "string"
model_id = "string"
}
}
}
}
short_term_memory_optimization_config = {
is_enabled = false
condenser_config = {
llm_selection = {
llm_selection_type = "string"
model_id = "string"
}
}
}
}
var exampleprojectResourceResourceFromGenerativeAiproject = new com.pulumi.oci.GenerativeAi.Project("exampleprojectResourceResourceFromGenerativeAiproject", com.pulumi.oci.GenerativeAi.ProjectArgs.builder()
.compartmentId("string")
.conversationConfig(ProjectConversationConfigArgs.builder()
.conversationsRetentionInHours(0)
.responsesRetentionInHours(0)
.build())
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.longTermMemoryConfig(ProjectLongTermMemoryConfigArgs.builder()
.standardLongTermMemoryStrategy(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyArgs.builder()
.isEnabled(false)
.embeddingConfig(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigArgs.builder()
.llmSelection(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionArgs.builder()
.llmSelectionType("string")
.modelId("string")
.build())
.build())
.extractionConfig(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigArgs.builder()
.llmSelection(ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionArgs.builder()
.llmSelectionType("string")
.modelId("string")
.build())
.build())
.build())
.build())
.shortTermMemoryOptimizationConfig(ProjectShortTermMemoryOptimizationConfigArgs.builder()
.isEnabled(false)
.condenserConfig(ProjectShortTermMemoryOptimizationConfigCondenserConfigArgs.builder()
.llmSelection(ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionArgs.builder()
.llmSelectionType("string")
.modelId("string")
.build())
.build())
.build())
.build());
exampleproject_resource_resource_from_generative_aiproject = oci.generativeai.Project("exampleprojectResourceResourceFromGenerativeAiproject",
compartment_id="string",
conversation_config={
"conversations_retention_in_hours": 0,
"responses_retention_in_hours": 0,
},
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
long_term_memory_config={
"standard_long_term_memory_strategy": {
"is_enabled": False,
"embedding_config": {
"llm_selection": {
"llm_selection_type": "string",
"model_id": "string",
},
},
"extraction_config": {
"llm_selection": {
"llm_selection_type": "string",
"model_id": "string",
},
},
},
},
short_term_memory_optimization_config={
"is_enabled": False,
"condenser_config": {
"llm_selection": {
"llm_selection_type": "string",
"model_id": "string",
},
},
})
const exampleprojectResourceResourceFromGenerativeAiproject = new oci.generativeai.Project("exampleprojectResourceResourceFromGenerativeAiproject", {
compartmentId: "string",
conversationConfig: {
conversationsRetentionInHours: 0,
responsesRetentionInHours: 0,
},
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
longTermMemoryConfig: {
standardLongTermMemoryStrategy: {
isEnabled: false,
embeddingConfig: {
llmSelection: {
llmSelectionType: "string",
modelId: "string",
},
},
extractionConfig: {
llmSelection: {
llmSelectionType: "string",
modelId: "string",
},
},
},
},
shortTermMemoryOptimizationConfig: {
isEnabled: false,
condenserConfig: {
llmSelection: {
llmSelectionType: "string",
modelId: "string",
},
},
},
});
type: oci:GenerativeAi:Project
properties:
compartmentId: string
conversationConfig:
conversationsRetentionInHours: 0
responsesRetentionInHours: 0
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
longTermMemoryConfig:
standardLongTermMemoryStrategy:
embeddingConfig:
llmSelection:
llmSelectionType: string
modelId: string
extractionConfig:
llmSelection:
llmSelectionType: string
modelId: string
isEnabled: false
shortTermMemoryOptimizationConfig:
condenserConfig:
llmSelection:
llmSelectionType: string
modelId: string
isEnabled: false
Project Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Project resource accepts the following input properties:
- Compartment
Id string - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- Conversation
Config ProjectConversation Config - (Updatable) Holds configuration related to conversation retention
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- (Updatable) An optional description of the GenerativeAiProject.
- Display
Name string - (Updatable) A user-friendly name.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Long
Term ProjectMemory Config Long Term Memory Config - (Updatable) Configuration settings for long-term memory behavior.
- Short
Term ProjectMemory Optimization Config Short Term Memory Optimization Config - (Updatable) Configuration settings for short-term memory optimization.
- Compartment
Id string - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- Conversation
Config ProjectConversation Config Args - (Updatable) Holds configuration related to conversation retention
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- (Updatable) An optional description of the GenerativeAiProject.
- Display
Name string - (Updatable) A user-friendly name.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Long
Term ProjectMemory Config Long Term Memory Config Args - (Updatable) Configuration settings for long-term memory behavior.
- Short
Term ProjectMemory Optimization Config Short Term Memory Optimization Config Args - (Updatable) Configuration settings for short-term memory optimization.
- compartment_
id string - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation_
config object - (Updatable) Holds configuration related to conversation retention
- map(string)
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- (Updatable) An optional description of the GenerativeAiProject.
- display_
name string - (Updatable) A user-friendly name.
- map(string)
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - long_
term_ objectmemory_ config - (Updatable) Configuration settings for long-term memory behavior.
- short_
term_ objectmemory_ optimization_ config - (Updatable) Configuration settings for short-term memory optimization.
- compartment
Id String - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation
Config ProjectConversation Config - (Updatable) Holds configuration related to conversation retention
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- (Updatable) An optional description of the GenerativeAiProject.
- display
Name String - (Updatable) A user-friendly name.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - long
Term ProjectMemory Config Long Term Memory Config - (Updatable) Configuration settings for long-term memory behavior.
- short
Term ProjectMemory Optimization Config Short Term Memory Optimization Config - (Updatable) Configuration settings for short-term memory optimization.
- compartment
Id string - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation
Config ProjectConversation Config - (Updatable) Holds configuration related to conversation retention
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- (Updatable) An optional description of the GenerativeAiProject.
- display
Name string - (Updatable) A user-friendly name.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - long
Term ProjectMemory Config Long Term Memory Config - (Updatable) Configuration settings for long-term memory behavior.
- short
Term ProjectMemory Optimization Config Short Term Memory Optimization Config - (Updatable) Configuration settings for short-term memory optimization.
- compartment_
id str - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation_
config ProjectConversation Config Args - (Updatable) Holds configuration related to conversation retention
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description str
- (Updatable) An optional description of the GenerativeAiProject.
- display_
name str - (Updatable) A user-friendly name.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - long_
term_ Projectmemory_ config Long Term Memory Config Args - (Updatable) Configuration settings for long-term memory behavior.
- short_
term_ Projectmemory_ optimization_ config Short Term Memory Optimization Config Args - (Updatable) Configuration settings for short-term memory optimization.
- compartment
Id String - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation
Config Property Map - (Updatable) Holds configuration related to conversation retention
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- (Updatable) An optional description of the GenerativeAiProject.
- display
Name String - (Updatable) A user-friendly name.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - long
Term Property MapMemory Config - (Updatable) Configuration settings for long-term memory behavior.
- short
Term Property MapMemory Optimization Config - (Updatable) Configuration settings for short-term memory optimization.
Outputs
All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail that can provide actionable information.
- State string
- The lifecycle state of a GenerativeAiProject.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail that can provide actionable information.
- State string
- The lifecycle state of a GenerativeAiProject.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details string - A message describing the current state in more detail that can provide actionable information.
- state string
- The lifecycle state of a GenerativeAiProject.
- map(string)
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created string - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time_
updated string - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail that can provide actionable information.
- state String
- The lifecycle state of a GenerativeAiProject.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail that can provide actionable information.
- state string
- The lifecycle state of a GenerativeAiProject.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time
Updated string - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail that can provide actionable information.
- state str
- The lifecycle state of a GenerativeAiProject.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time_
updated str - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail that can provide actionable information.
- state String
- The lifecycle state of a GenerativeAiProject.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
Look up Existing Project Resource
Get an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProjectState, opts?: CustomResourceOptions): Project@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
conversation_config: Optional[ProjectConversationConfigArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
long_term_memory_config: Optional[ProjectLongTermMemoryConfigArgs] = None,
short_term_memory_optimization_config: Optional[ProjectShortTermMemoryOptimizationConfigArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> Projectfunc GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)public static Project get(String name, Output<String> id, ProjectState state, CustomResourceOptions options)resources: _: type: oci:GenerativeAi:Project get: id: ${id}import {
to = oci_generativeai_project.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- Conversation
Config ProjectConversation Config - (Updatable) Holds configuration related to conversation retention
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- (Updatable) An optional description of the GenerativeAiProject.
- Display
Name string - (Updatable) A user-friendly name.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Lifecycle
Details string - A message describing the current state in more detail that can provide actionable information.
- Long
Term ProjectMemory Config Long Term Memory Config - (Updatable) Configuration settings for long-term memory behavior.
- Short
Term ProjectMemory Optimization Config Short Term Memory Optimization Config - (Updatable) Configuration settings for short-term memory optimization.
- State string
- The lifecycle state of a GenerativeAiProject.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- Compartment
Id string - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- Conversation
Config ProjectConversation Config Args - (Updatable) Holds configuration related to conversation retention
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- (Updatable) An optional description of the GenerativeAiProject.
- Display
Name string - (Updatable) A user-friendly name.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Lifecycle
Details string - A message describing the current state in more detail that can provide actionable information.
- Long
Term ProjectMemory Config Long Term Memory Config Args - (Updatable) Configuration settings for long-term memory behavior.
- Short
Term ProjectMemory Optimization Config Short Term Memory Optimization Config Args - (Updatable) Configuration settings for short-term memory optimization.
- State string
- The lifecycle state of a GenerativeAiProject.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- compartment_
id string - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation_
config object - (Updatable) Holds configuration related to conversation retention
- map(string)
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- (Updatable) An optional description of the GenerativeAiProject.
- display_
name string - (Updatable) A user-friendly name.
- map(string)
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - lifecycle_
details string - A message describing the current state in more detail that can provide actionable information.
- long_
term_ objectmemory_ config - (Updatable) Configuration settings for long-term memory behavior.
- short_
term_ objectmemory_ optimization_ config - (Updatable) Configuration settings for short-term memory optimization.
- state string
- The lifecycle state of a GenerativeAiProject.
- map(string)
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created string - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time_
updated string - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- compartment
Id String - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation
Config ProjectConversation Config - (Updatable) Holds configuration related to conversation retention
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- (Updatable) An optional description of the GenerativeAiProject.
- display
Name String - (Updatable) A user-friendly name.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - lifecycle
Details String - A message describing the current state in more detail that can provide actionable information.
- long
Term ProjectMemory Config Long Term Memory Config - (Updatable) Configuration settings for long-term memory behavior.
- short
Term ProjectMemory Optimization Config Short Term Memory Optimization Config - (Updatable) Configuration settings for short-term memory optimization.
- state String
- The lifecycle state of a GenerativeAiProject.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- compartment
Id string - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation
Config ProjectConversation Config - (Updatable) Holds configuration related to conversation retention
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- (Updatable) An optional description of the GenerativeAiProject.
- display
Name string - (Updatable) A user-friendly name.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - lifecycle
Details string - A message describing the current state in more detail that can provide actionable information.
- long
Term ProjectMemory Config Long Term Memory Config - (Updatable) Configuration settings for long-term memory behavior.
- short
Term ProjectMemory Optimization Config Short Term Memory Optimization Config - (Updatable) Configuration settings for short-term memory optimization.
- state string
- The lifecycle state of a GenerativeAiProject.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time
Updated string - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- compartment_
id str - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation_
config ProjectConversation Config Args - (Updatable) Holds configuration related to conversation retention
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description str
- (Updatable) An optional description of the GenerativeAiProject.
- display_
name str - (Updatable) A user-friendly name.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - lifecycle_
details str - A message describing the current state in more detail that can provide actionable information.
- long_
term_ Projectmemory_ config Long Term Memory Config Args - (Updatable) Configuration settings for long-term memory behavior.
- short_
term_ Projectmemory_ optimization_ config Short Term Memory Optimization Config Args - (Updatable) Configuration settings for short-term memory optimization.
- state str
- The lifecycle state of a GenerativeAiProject.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time_
updated str - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
- compartment
Id String - (Updatable) Owning compartment OCID for a GenerativeAiProject.
- conversation
Config Property Map - (Updatable) Holds configuration related to conversation retention
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- (Updatable) An optional description of the GenerativeAiProject.
- display
Name String - (Updatable) A user-friendly name.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - lifecycle
Details String - A message describing the current state in more detail that can provide actionable information.
- long
Term Property MapMemory Config - (Updatable) Configuration settings for long-term memory behavior.
- short
Term Property MapMemory Optimization Config - (Updatable) Configuration settings for short-term memory optimization.
- state String
- The lifecycle state of a GenerativeAiProject.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
Supporting Types
ProjectConversationConfig, ProjectConversationConfigArgs
- Conversations
Retention intIn Hours - (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
- Responses
Retention intIn Hours - (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
- Conversations
Retention intIn Hours - (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
- Responses
Retention intIn Hours - (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
- conversations_
retention_ numberin_ hours - (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
- responses_
retention_ numberin_ hours - (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
- conversations
Retention IntegerIn Hours - (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
- responses
Retention IntegerIn Hours - (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
- conversations
Retention numberIn Hours - (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
- responses
Retention numberIn Hours - (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
- conversations_
retention_ intin_ hours - (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
- responses_
retention_ intin_ hours - (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
- conversations
Retention NumberIn Hours - (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
- responses
Retention NumberIn Hours - (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
ProjectLongTermMemoryConfig, ProjectLongTermMemoryConfigArgs
- Standard
Long ProjectTerm Memory Strategy Long Term Memory Config Standard Long Term Memory Strategy - (Updatable) Standard strategy settings for long-term memory.
- Standard
Long ProjectTerm Memory Strategy Long Term Memory Config Standard Long Term Memory Strategy - (Updatable) Standard strategy settings for long-term memory.
- standard_
long_ objectterm_ memory_ strategy - (Updatable) Standard strategy settings for long-term memory.
- standard
Long ProjectTerm Memory Strategy Long Term Memory Config Standard Long Term Memory Strategy - (Updatable) Standard strategy settings for long-term memory.
- standard
Long ProjectTerm Memory Strategy Long Term Memory Config Standard Long Term Memory Strategy - (Updatable) Standard strategy settings for long-term memory.
- standard_
long_ Projectterm_ memory_ strategy Long Term Memory Config Standard Long Term Memory Strategy - (Updatable) Standard strategy settings for long-term memory.
- standard
Long Property MapTerm Memory Strategy - (Updatable) Standard strategy settings for long-term memory.
ProjectLongTermMemoryConfigStandardLongTermMemoryStrategy, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyArgs
- Is
Enabled bool - (Updatable) Indicates whether long-term memory is enabled.
- Embedding
Config ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config - (Updatable) Configuration for generating embeddings from extracted information.
- Extraction
Config ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config - (Updatable) Configuration for information extraction from conversation content.
- Is
Enabled bool - (Updatable) Indicates whether long-term memory is enabled.
- Embedding
Config ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config - (Updatable) Configuration for generating embeddings from extracted information.
- Extraction
Config ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config - (Updatable) Configuration for information extraction from conversation content.
- is_
enabled bool - (Updatable) Indicates whether long-term memory is enabled.
- embedding_
config object - (Updatable) Configuration for generating embeddings from extracted information.
- extraction_
config object - (Updatable) Configuration for information extraction from conversation content.
- is
Enabled Boolean - (Updatable) Indicates whether long-term memory is enabled.
- embedding
Config ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config - (Updatable) Configuration for generating embeddings from extracted information.
- extraction
Config ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config - (Updatable) Configuration for information extraction from conversation content.
- is
Enabled boolean - (Updatable) Indicates whether long-term memory is enabled.
- embedding
Config ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config - (Updatable) Configuration for generating embeddings from extracted information.
- extraction
Config ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config - (Updatable) Configuration for information extraction from conversation content.
- is_
enabled bool - (Updatable) Indicates whether long-term memory is enabled.
- embedding_
config ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config - (Updatable) Configuration for generating embeddings from extracted information.
- extraction_
config ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config - (Updatable) Configuration for information extraction from conversation content.
- is
Enabled Boolean - (Updatable) Indicates whether long-term memory is enabled.
- embedding
Config Property Map - (Updatable) Configuration for generating embeddings from extracted information.
- extraction
Config Property Map - (Updatable) Configuration for information extraction from conversation content.
ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfig, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigArgs
- Llm
Selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config Llm Selection - (Updatable) LLM selection configuration.
- Llm
Selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config Llm Selection - (Updatable) LLM selection configuration.
- llm_
selection object - (Updatable) LLM selection configuration.
- llm
Selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config Llm Selection - (Updatable) LLM selection configuration.
- llm
Selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config Llm Selection - (Updatable) LLM selection configuration.
- llm_
selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Embedding Config Llm Selection - (Updatable) LLM selection configuration.
- llm
Selection Property Map - (Updatable) LLM selection configuration.
ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelection, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionArgs
- Llm
Selection stringType - (Updatable) The type of LLM selection.
- Model
Id string - (Updatable) The id of the GenAI model
- Llm
Selection stringType - (Updatable) The type of LLM selection.
- Model
Id string - (Updatable) The id of the GenAI model
- llm_
selection_ stringtype - (Updatable) The type of LLM selection.
- model_
id string - (Updatable) The id of the GenAI model
- llm
Selection StringType - (Updatable) The type of LLM selection.
- model
Id String - (Updatable) The id of the GenAI model
- llm
Selection stringType - (Updatable) The type of LLM selection.
- model
Id string - (Updatable) The id of the GenAI model
- llm_
selection_ strtype - (Updatable) The type of LLM selection.
- model_
id str - (Updatable) The id of the GenAI model
- llm
Selection StringType - (Updatable) The type of LLM selection.
- model
Id String - (Updatable) The id of the GenAI model
ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfig, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigArgs
- Llm
Selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config Llm Selection - (Updatable) LLM selection configuration.
- Llm
Selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config Llm Selection - (Updatable) LLM selection configuration.
- llm_
selection object - (Updatable) LLM selection configuration.
- llm
Selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config Llm Selection - (Updatable) LLM selection configuration.
- llm
Selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config Llm Selection - (Updatable) LLM selection configuration.
- llm_
selection ProjectLong Term Memory Config Standard Long Term Memory Strategy Extraction Config Llm Selection - (Updatable) LLM selection configuration.
- llm
Selection Property Map - (Updatable) LLM selection configuration.
ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelection, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionArgs
- Llm
Selection stringType - (Updatable) The type of LLM selection.
- Model
Id string - (Updatable) The id of the GenAI model
- Llm
Selection stringType - (Updatable) The type of LLM selection.
- Model
Id string - (Updatable) The id of the GenAI model
- llm_
selection_ stringtype - (Updatable) The type of LLM selection.
- model_
id string - (Updatable) The id of the GenAI model
- llm
Selection StringType - (Updatable) The type of LLM selection.
- model
Id String - (Updatable) The id of the GenAI model
- llm
Selection stringType - (Updatable) The type of LLM selection.
- model
Id string - (Updatable) The id of the GenAI model
- llm_
selection_ strtype - (Updatable) The type of LLM selection.
- model_
id str - (Updatable) The id of the GenAI model
- llm
Selection StringType - (Updatable) The type of LLM selection.
- model
Id String - (Updatable) The id of the GenAI model
ProjectShortTermMemoryOptimizationConfig, ProjectShortTermMemoryOptimizationConfigArgs
- Is
Enabled bool (Updatable) Indicates whether short-term memory optimization is enabled.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Condenser
Config ProjectShort Term Memory Optimization Config Condenser Config - (Updatable) Configuration for condensing conversation content.
- Is
Enabled bool (Updatable) Indicates whether short-term memory optimization is enabled.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Condenser
Config ProjectShort Term Memory Optimization Config Condenser Config - (Updatable) Configuration for condensing conversation content.
- is_
enabled bool (Updatable) Indicates whether short-term memory optimization is enabled.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- condenser_
config object - (Updatable) Configuration for condensing conversation content.
- is
Enabled Boolean (Updatable) Indicates whether short-term memory optimization is enabled.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- condenser
Config ProjectShort Term Memory Optimization Config Condenser Config - (Updatable) Configuration for condensing conversation content.
- is
Enabled boolean (Updatable) Indicates whether short-term memory optimization is enabled.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- condenser
Config ProjectShort Term Memory Optimization Config Condenser Config - (Updatable) Configuration for condensing conversation content.
- is_
enabled bool (Updatable) Indicates whether short-term memory optimization is enabled.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- condenser_
config ProjectShort Term Memory Optimization Config Condenser Config - (Updatable) Configuration for condensing conversation content.
- is
Enabled Boolean (Updatable) Indicates whether short-term memory optimization is enabled.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- condenser
Config Property Map - (Updatable) Configuration for condensing conversation content.
ProjectShortTermMemoryOptimizationConfigCondenserConfig, ProjectShortTermMemoryOptimizationConfigCondenserConfigArgs
- Llm
Selection ProjectShort Term Memory Optimization Config Condenser Config Llm Selection - (Updatable) LLM selection configuration.
- Llm
Selection ProjectShort Term Memory Optimization Config Condenser Config Llm Selection - (Updatable) LLM selection configuration.
- llm_
selection object - (Updatable) LLM selection configuration.
- llm
Selection ProjectShort Term Memory Optimization Config Condenser Config Llm Selection - (Updatable) LLM selection configuration.
- llm
Selection ProjectShort Term Memory Optimization Config Condenser Config Llm Selection - (Updatable) LLM selection configuration.
- llm_
selection ProjectShort Term Memory Optimization Config Condenser Config Llm Selection - (Updatable) LLM selection configuration.
- llm
Selection Property Map - (Updatable) LLM selection configuration.
ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelection, ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionArgs
- Llm
Selection stringType - (Updatable) The type of LLM selection.
- Model
Id string - (Updatable) The id of the GenAI model
- Llm
Selection stringType - (Updatable) The type of LLM selection.
- Model
Id string - (Updatable) The id of the GenAI model
- llm_
selection_ stringtype - (Updatable) The type of LLM selection.
- model_
id string - (Updatable) The id of the GenAI model
- llm
Selection StringType - (Updatable) The type of LLM selection.
- model
Id String - (Updatable) The id of the GenAI model
- llm
Selection stringType - (Updatable) The type of LLM selection.
- model
Id string - (Updatable) The id of the GenAI model
- llm_
selection_ strtype - (Updatable) The type of LLM selection.
- model_
id str - (Updatable) The id of the GenAI model
- llm
Selection StringType - (Updatable) The type of LLM selection.
- model
Id String - (Updatable) The id of the GenAI model
Import
Projects can be imported using the id, e.g.
$ pulumi import oci:GenerativeAi/project:Project test_project "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Wednesday, Jul 15, 2026 by Pulumi