Creating a Vector Store

Create a vector store in the OCI Generative AI service.

This task documents the steps for creating a vector store by using the Oracle Cloud Console.

Tip

After you create a vector store, you can view its details and perform other tasks, such as updating it or deleting it. Use the Actions menu (three dots) in the Console to access these tasks.

To create a vector store, in the list page, select Create vector store. If you need help finding the list page, see Listing Vector Stores.

Basic Information

  1. Enter a name for the vector store.
    Start the name with a letter or underscore, followed by letters, numbers, hyphens, or underscores. The length can be 1 to 255 characters.
  2. (Optional) Enter a description for the vector store.
  3. Select a compartment to create the vector store in. The default compartment is the same as the list page, but you can select any compartment that you have permission to work in.

Data Source Type

Select one of the following options:
  • Unstructured data

    Upload documents such as PDFs and text files. Use for semantic search and RAG.

  • Structured data

    Create a semantic store to use for NL2SQL and schema-aware querying.

Unstructured Data

If you selected Unstructured data, follow these steps:

  1. enable the expiration policy and specify the inactivity period (in days) before the vector store is deleted.

    Default: 100 days.

  2. (Optional) Expand Metadata and add up to 16 metadata key-value pairs. Use metadata to filter data sources and limit agent search to relevant files.

Structured Data

If you selected Structured data, follow these steps:
  1. Enter the Querying connection id, then select Test query connection to verify access.
  1. Under Configure sync connector, select a Connection type.

    Allowed value: OCI Database tool.

  2. Enter the Enrichment connection id, then select Test enrichment connection to verify access.
  3. Enter the Querying connection id, then select Test query connection to verify access.
  4. In Schemas, specify the database schema names to ingest for NL2SQL and schema-aware querying.

Tags

  1. (Optional) Select Add tag and assign tags to this vector storen with unstructured data. See Resource Tags.
  2. Select Create.