1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. GenerativeAi
  6. Project
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.20.0
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:

    CompartmentId string
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    ConversationConfig ProjectConversationConfig
    (Updatable) Holds configuration related to conversation retention
    DefinedTags 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.
    DisplayName string
    (Updatable) A user-friendly name.
    FreeformTags 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"}
    LongTermMemoryConfig ProjectLongTermMemoryConfig
    (Updatable) Configuration settings for long-term memory behavior.
    ShortTermMemoryOptimizationConfig ProjectShortTermMemoryOptimizationConfig
    (Updatable) Configuration settings for short-term memory optimization.
    CompartmentId string
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    ConversationConfig ProjectConversationConfigArgs
    (Updatable) Holds configuration related to conversation retention
    DefinedTags 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.
    DisplayName string
    (Updatable) A user-friendly name.
    FreeformTags 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"}
    LongTermMemoryConfig ProjectLongTermMemoryConfigArgs
    (Updatable) Configuration settings for long-term memory behavior.
    ShortTermMemoryOptimizationConfig ProjectShortTermMemoryOptimizationConfigArgs
    (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
    defined_tags 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.
    freeform_tags 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_memory_config object
    (Updatable) Configuration settings for long-term memory behavior.
    short_term_memory_optimization_config object
    (Updatable) Configuration settings for short-term memory optimization.
    compartmentId String
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    conversationConfig ProjectConversationConfig
    (Updatable) Holds configuration related to conversation retention
    definedTags 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.
    displayName String
    (Updatable) A user-friendly name.
    freeformTags 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"}
    longTermMemoryConfig ProjectLongTermMemoryConfig
    (Updatable) Configuration settings for long-term memory behavior.
    shortTermMemoryOptimizationConfig ProjectShortTermMemoryOptimizationConfig
    (Updatable) Configuration settings for short-term memory optimization.
    compartmentId string
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    conversationConfig ProjectConversationConfig
    (Updatable) Holds configuration related to conversation retention
    definedTags {[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.
    displayName string
    (Updatable) A user-friendly name.
    freeformTags {[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"}
    longTermMemoryConfig ProjectLongTermMemoryConfig
    (Updatable) Configuration settings for long-term memory behavior.
    shortTermMemoryOptimizationConfig ProjectShortTermMemoryOptimizationConfig
    (Updatable) Configuration settings for short-term memory optimization.
    compartment_id str
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    conversation_config ProjectConversationConfigArgs
    (Updatable) Holds configuration related to conversation retention
    defined_tags 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.
    freeform_tags 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_memory_config ProjectLongTermMemoryConfigArgs
    (Updatable) Configuration settings for long-term memory behavior.
    short_term_memory_optimization_config ProjectShortTermMemoryOptimizationConfigArgs
    (Updatable) Configuration settings for short-term memory optimization.
    compartmentId String
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    conversationConfig Property Map
    (Updatable) Holds configuration related to conversation retention
    definedTags 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.
    displayName String
    (Updatable) A user-friendly name.
    freeformTags 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"}
    longTermMemoryConfig Property Map
    (Updatable) Configuration settings for long-term memory behavior.
    shortTermMemoryOptimizationConfig Property Map
    (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.
    LifecycleDetails string
    A message describing the current state in more detail that can provide actionable information.
    State string
    The lifecycle state of a GenerativeAiProject.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    TimeUpdated 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.
    LifecycleDetails string
    A message describing the current state in more detail that can provide actionable information.
    State string
    The lifecycle state of a GenerativeAiProject.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    TimeUpdated 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.
    system_tags 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.
    lifecycleDetails String
    A message describing the current state in more detail that can provide actionable information.
    state String
    The lifecycle state of a GenerativeAiProject.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    timeUpdated 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.
    lifecycleDetails string
    A message describing the current state in more detail that can provide actionable information.
    state string
    The lifecycle state of a GenerativeAiProject.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    timeUpdated 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.
    system_tags 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.
    lifecycleDetails String
    A message describing the current state in more detail that can provide actionable information.
    state String
    The lifecycle state of a GenerativeAiProject.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    timeUpdated 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) -> Project
    func 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.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    ConversationConfig ProjectConversationConfig
    (Updatable) Holds configuration related to conversation retention
    DefinedTags 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.
    DisplayName string
    (Updatable) A user-friendly name.
    FreeformTags 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"}
    LifecycleDetails string
    A message describing the current state in more detail that can provide actionable information.
    LongTermMemoryConfig ProjectLongTermMemoryConfig
    (Updatable) Configuration settings for long-term memory behavior.
    ShortTermMemoryOptimizationConfig ProjectShortTermMemoryOptimizationConfig
    (Updatable) Configuration settings for short-term memory optimization.
    State string
    The lifecycle state of a GenerativeAiProject.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    TimeUpdated string
    The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
    CompartmentId string
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    ConversationConfig ProjectConversationConfigArgs
    (Updatable) Holds configuration related to conversation retention
    DefinedTags 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.
    DisplayName string
    (Updatable) A user-friendly name.
    FreeformTags 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"}
    LifecycleDetails string
    A message describing the current state in more detail that can provide actionable information.
    LongTermMemoryConfig ProjectLongTermMemoryConfigArgs
    (Updatable) Configuration settings for long-term memory behavior.
    ShortTermMemoryOptimizationConfig ProjectShortTermMemoryOptimizationConfigArgs
    (Updatable) Configuration settings for short-term memory optimization.
    State string
    The lifecycle state of a GenerativeAiProject.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    TimeUpdated 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
    defined_tags 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.
    freeform_tags 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_memory_config object
    (Updatable) Configuration settings for long-term memory behavior.
    short_term_memory_optimization_config object
    (Updatable) Configuration settings for short-term memory optimization.
    state string
    The lifecycle state of a GenerativeAiProject.
    system_tags 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.
    compartmentId String
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    conversationConfig ProjectConversationConfig
    (Updatable) Holds configuration related to conversation retention
    definedTags 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.
    displayName String
    (Updatable) A user-friendly name.
    freeformTags 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"}
    lifecycleDetails String
    A message describing the current state in more detail that can provide actionable information.
    longTermMemoryConfig ProjectLongTermMemoryConfig
    (Updatable) Configuration settings for long-term memory behavior.
    shortTermMemoryOptimizationConfig ProjectShortTermMemoryOptimizationConfig
    (Updatable) Configuration settings for short-term memory optimization.
    state String
    The lifecycle state of a GenerativeAiProject.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    timeUpdated String
    The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.
    compartmentId string
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    conversationConfig ProjectConversationConfig
    (Updatable) Holds configuration related to conversation retention
    definedTags {[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.
    displayName string
    (Updatable) A user-friendly name.
    freeformTags {[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"}
    lifecycleDetails string
    A message describing the current state in more detail that can provide actionable information.
    longTermMemoryConfig ProjectLongTermMemoryConfig
    (Updatable) Configuration settings for long-term memory behavior.
    shortTermMemoryOptimizationConfig ProjectShortTermMemoryOptimizationConfig
    (Updatable) Configuration settings for short-term memory optimization.
    state string
    The lifecycle state of a GenerativeAiProject.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    timeUpdated 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 ProjectConversationConfigArgs
    (Updatable) Holds configuration related to conversation retention
    defined_tags 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.
    freeform_tags 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_memory_config ProjectLongTermMemoryConfigArgs
    (Updatable) Configuration settings for long-term memory behavior.
    short_term_memory_optimization_config ProjectShortTermMemoryOptimizationConfigArgs
    (Updatable) Configuration settings for short-term memory optimization.
    state str
    The lifecycle state of a GenerativeAiProject.
    system_tags 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.
    compartmentId String
    (Updatable) Owning compartment OCID for a GenerativeAiProject.
    conversationConfig Property Map
    (Updatable) Holds configuration related to conversation retention
    definedTags 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.
    displayName String
    (Updatable) A user-friendly name.
    freeformTags 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"}
    lifecycleDetails String
    A message describing the current state in more detail that can provide actionable information.
    longTermMemoryConfig Property Map
    (Updatable) Configuration settings for long-term memory behavior.
    shortTermMemoryOptimizationConfig Property Map
    (Updatable) Configuration settings for short-term memory optimization.
    state String
    The lifecycle state of a GenerativeAiProject.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the generativeAiProject was created in the format of an RFC3339 datetime string.
    timeUpdated String
    The date and time that the generativeAiProject was updated in the format of an RFC3339 datetime string.

    Supporting Types

    ProjectConversationConfig, ProjectConversationConfigArgs

    ConversationsRetentionInHours int
    (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
    ResponsesRetentionInHours int
    (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
    ConversationsRetentionInHours int
    (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
    ResponsesRetentionInHours int
    (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
    conversations_retention_in_hours number
    (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
    responses_retention_in_hours number
    (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
    conversationsRetentionInHours Integer
    (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
    responsesRetentionInHours Integer
    (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
    conversationsRetentionInHours number
    (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
    responsesRetentionInHours number
    (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
    conversations_retention_in_hours int
    (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
    responses_retention_in_hours int
    (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.
    conversationsRetentionInHours Number
    (Updatable) Retention period (in hours) for conversations. The TTL starts from the time the conversation was last updated.
    responsesRetentionInHours Number
    (Updatable) Retention period (in hours) for responses. The TTL starts from the time the response was created.

    ProjectLongTermMemoryConfig, ProjectLongTermMemoryConfigArgs

    StandardLongTermMemoryStrategy ProjectLongTermMemoryConfigStandardLongTermMemoryStrategy
    (Updatable) Standard strategy settings for long-term memory.
    StandardLongTermMemoryStrategy ProjectLongTermMemoryConfigStandardLongTermMemoryStrategy
    (Updatable) Standard strategy settings for long-term memory.
    standard_long_term_memory_strategy object
    (Updatable) Standard strategy settings for long-term memory.
    standardLongTermMemoryStrategy ProjectLongTermMemoryConfigStandardLongTermMemoryStrategy
    (Updatable) Standard strategy settings for long-term memory.
    standardLongTermMemoryStrategy ProjectLongTermMemoryConfigStandardLongTermMemoryStrategy
    (Updatable) Standard strategy settings for long-term memory.
    standard_long_term_memory_strategy ProjectLongTermMemoryConfigStandardLongTermMemoryStrategy
    (Updatable) Standard strategy settings for long-term memory.
    standardLongTermMemoryStrategy Property Map
    (Updatable) Standard strategy settings for long-term memory.

    ProjectLongTermMemoryConfigStandardLongTermMemoryStrategy, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyArgs

    IsEnabled bool
    (Updatable) Indicates whether long-term memory is enabled.
    EmbeddingConfig ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfig
    (Updatable) Configuration for generating embeddings from extracted information.
    ExtractionConfig ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfig
    (Updatable) Configuration for information extraction from conversation content.
    IsEnabled bool
    (Updatable) Indicates whether long-term memory is enabled.
    EmbeddingConfig ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfig
    (Updatable) Configuration for generating embeddings from extracted information.
    ExtractionConfig ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfig
    (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.
    isEnabled Boolean
    (Updatable) Indicates whether long-term memory is enabled.
    embeddingConfig ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfig
    (Updatable) Configuration for generating embeddings from extracted information.
    extractionConfig ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfig
    (Updatable) Configuration for information extraction from conversation content.
    isEnabled boolean
    (Updatable) Indicates whether long-term memory is enabled.
    embeddingConfig ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfig
    (Updatable) Configuration for generating embeddings from extracted information.
    extractionConfig ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfig
    (Updatable) Configuration for information extraction from conversation content.
    is_enabled bool
    (Updatable) Indicates whether long-term memory is enabled.
    embedding_config ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfig
    (Updatable) Configuration for generating embeddings from extracted information.
    extraction_config ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfig
    (Updatable) Configuration for information extraction from conversation content.
    isEnabled Boolean
    (Updatable) Indicates whether long-term memory is enabled.
    embeddingConfig Property Map
    (Updatable) Configuration for generating embeddings from extracted information.
    extractionConfig Property Map
    (Updatable) Configuration for information extraction from conversation content.

    ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfig, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigArgs

    llm_selection object
    (Updatable) LLM selection configuration.
    llmSelection Property Map
    (Updatable) LLM selection configuration.

    ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelection, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyEmbeddingConfigLlmSelectionArgs

    LlmSelectionType string
    (Updatable) The type of LLM selection.
    ModelId string
    (Updatable) The id of the GenAI model
    LlmSelectionType string
    (Updatable) The type of LLM selection.
    ModelId string
    (Updatable) The id of the GenAI model
    llm_selection_type string
    (Updatable) The type of LLM selection.
    model_id string
    (Updatable) The id of the GenAI model
    llmSelectionType String
    (Updatable) The type of LLM selection.
    modelId String
    (Updatable) The id of the GenAI model
    llmSelectionType string
    (Updatable) The type of LLM selection.
    modelId string
    (Updatable) The id of the GenAI model
    llm_selection_type str
    (Updatable) The type of LLM selection.
    model_id str
    (Updatable) The id of the GenAI model
    llmSelectionType String
    (Updatable) The type of LLM selection.
    modelId String
    (Updatable) The id of the GenAI model

    ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfig, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigArgs

    llm_selection object
    (Updatable) LLM selection configuration.
    llmSelection Property Map
    (Updatable) LLM selection configuration.

    ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelection, ProjectLongTermMemoryConfigStandardLongTermMemoryStrategyExtractionConfigLlmSelectionArgs

    LlmSelectionType string
    (Updatable) The type of LLM selection.
    ModelId string
    (Updatable) The id of the GenAI model
    LlmSelectionType string
    (Updatable) The type of LLM selection.
    ModelId string
    (Updatable) The id of the GenAI model
    llm_selection_type string
    (Updatable) The type of LLM selection.
    model_id string
    (Updatable) The id of the GenAI model
    llmSelectionType String
    (Updatable) The type of LLM selection.
    modelId String
    (Updatable) The id of the GenAI model
    llmSelectionType string
    (Updatable) The type of LLM selection.
    modelId string
    (Updatable) The id of the GenAI model
    llm_selection_type str
    (Updatable) The type of LLM selection.
    model_id str
    (Updatable) The id of the GenAI model
    llmSelectionType String
    (Updatable) The type of LLM selection.
    modelId String
    (Updatable) The id of the GenAI model

    ProjectShortTermMemoryOptimizationConfig, ProjectShortTermMemoryOptimizationConfigArgs

    IsEnabled 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

    CondenserConfig ProjectShortTermMemoryOptimizationConfigCondenserConfig
    (Updatable) Configuration for condensing conversation content.
    IsEnabled 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

    CondenserConfig ProjectShortTermMemoryOptimizationConfigCondenserConfig
    (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.
    isEnabled 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

    condenserConfig ProjectShortTermMemoryOptimizationConfigCondenserConfig
    (Updatable) Configuration for condensing conversation content.
    isEnabled 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

    condenserConfig ProjectShortTermMemoryOptimizationConfigCondenserConfig
    (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 ProjectShortTermMemoryOptimizationConfigCondenserConfig
    (Updatable) Configuration for condensing conversation content.
    isEnabled 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

    condenserConfig Property Map
    (Updatable) Configuration for condensing conversation content.

    ProjectShortTermMemoryOptimizationConfigCondenserConfig, ProjectShortTermMemoryOptimizationConfigCondenserConfigArgs

    llm_selection object
    (Updatable) LLM selection configuration.
    llmSelection Property Map
    (Updatable) LLM selection configuration.

    ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelection, ProjectShortTermMemoryOptimizationConfigCondenserConfigLlmSelectionArgs

    LlmSelectionType string
    (Updatable) The type of LLM selection.
    ModelId string
    (Updatable) The id of the GenAI model
    LlmSelectionType string
    (Updatable) The type of LLM selection.
    ModelId string
    (Updatable) The id of the GenAI model
    llm_selection_type string
    (Updatable) The type of LLM selection.
    model_id string
    (Updatable) The id of the GenAI model
    llmSelectionType String
    (Updatable) The type of LLM selection.
    modelId String
    (Updatable) The id of the GenAI model
    llmSelectionType string
    (Updatable) The type of LLM selection.
    modelId string
    (Updatable) The id of the GenAI model
    llm_selection_type str
    (Updatable) The type of LLM selection.
    model_id str
    (Updatable) The id of the GenAI model
    llmSelectionType String
    (Updatable) The type of LLM selection.
    modelId 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 oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.20.0
    published on Wednesday, Jul 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial