Creating a Project
Create a project in the OCI Generative AI service.
Create a project by using the Oracle Cloud Console. Configure data retention and memory settings for conversations and responses. To run code and work with files in isolated environments, also enable sandboxes for the project.
After you create a project, you can view its details and perform other tasks, such as updating it, moving it to a different compartment, managing its tags, or deleting it. Use the in the Console to access these tasks. For more information, see Listing a project.
To create a project, in the list page, select Create project. If you need help finding the list page, see Listing a project.
Basic Information
Data Retention
Configure how long responses and conversations can be stored. Response retention controls how long individual responses are preserved after generation before automatic deletion. Conversation retention controls how long conversations is stored after the most recent update. The maximum retention duration is 720 hours (30 days).
- For Response retention (hours), enter how long to retain each response after generation.
- For Conversation retention (hours), enter how long to retain a conversation after its most recent update.
Short-Term Memory Compaction
In Short-term memory compaction config, configure summarization of conversation context to preserve key information while reducing token usage.
Compaction model can only be set during creation. It can't be changed later. Short-term memory compaction can be enabled at any time, but it can't be disabled or deleted once it has been enabled unless this project is deleted.
Long-Term Memory
In Long-term memory config, enable long-term memory to extract key information from conversations and store it for later retrieval. Stored information is embedded as searchable vectors.
Extraction and embedding models can only be set during creation. They can't be changed later. Long-term memory can be enabled at any time, but it can't be disabled or deleted after it has been enabled unless this project is deleted.
If you enable this long-term memory feature, for best results we recommend that in the Data retention section, you set both the Response and the Conversation retention time to the maximum available value (720 hours).
- (Optional) Enable long‑term memory to help store key information for retrieval in future conversations.
-
If you enable the long‑term memory feature, then select models:
- Long-term memory extraction model: The model for capturing and identifying key information to store. The list of models varies by region. For available models, see Generative AI Models and Regions for Enterprise AI Agents.
- Long-term memory embedding model: The model for converting the stored information into searchable vectors.
Sandbox Configuration
Enable sandboxes to create isolated runtimes for this project. Each sandbox can run commands and read or write files. The project supplies shared networking settings. See Sandboxes in OCI Generative AI and API-Level Permissions for Sandboxes.
After you enable sandboxes for a project, you can't disable them. Select the networking configuration before creating sandboxes. To use a different custom subnet or set of network security groups, create another project.