vectorProvider

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255
Enter a descriptive name for this Vector Provider.
typeenumYesdata type=string; lov=STATIC
Valid values: databaseOnnxModel genAIService customPlsql

Property Groups:

  • localEmbedding
  • genAIService
  • ociGenAI
  • endpointUrl
  • authentication
  • additionalData
  • advanced
  • comments
localEmbedding
PropertyTypeRequiredDefault ValueDetails
ownerstringNodata type=string; maxLen=32767
Applies whentype = databaseOnnxModel
modelNamestringYesdata type=string; maxLen=32767
Applies whentype = databaseOnnxModel
functionstringYesdata type=string; maxLen=255
Applies whentype = customPlsql
localEmbedding {
  owner: value
  modelName: value
  function: value
}
genAIService
PropertyTypeRequiredDefault ValueDetails
providerenumYesdata type=string; lov=STATIC
Valid values: ociGenAI openai cohere googleGemini mistralAi ollama genericOpenaiApiCompatible
Applies whentype = genAIService
modelNamestringNodata type=string; maxLen=255
Applies whentype = genAIService
genAIService {
  provider: ociGenAI
  modelName: value
}
ociGenAI
PropertyTypeRequiredDefault ValueDetails
compartmentIdstringYesdata type=string; maxLen=255
Applies whentype = genAIService and provider = ociGenAI
servingModeenumYesdata type=string; lov=STATIC
Valid values: onDemand dedicated
Applies whentype = genAIService and provider = ociGenAI
endpointIdstringNodata type=string; maxLen=255
Applies whentype = genAIService and provider = ociGenAI
ociGenAI {
  compartmentId: value
  servingMode: onDemand
  endpointId: value
}
endpointUrl
PropertyTypeRequiredDefault ValueDetails
urlstringYesdata type=string; maxLen=4000
Applies whentype = genAIService
Enter the endpoint URL for this Vector Provider.
endpointUrl {
  url: value
}
authentication
PropertyTypeRequiredDefault ValueDetails
credentialsreferenceNodata type=reference; lov=COMPONENT; references=webCredential
Applies whentype = genAIService
authentication {
  credentials: @component
}
additionalData
PropertyTypeRequiredDefault ValueDetails
httpHeadersmultiline stringNodata type=multiline string; maxLen=4000
Applies whentype = genAIService
attributesmultiline stringNodata type=multiline string; maxLen=4000
Applies whentype = genAIService and provider = ociGenAI
additionalData {
  httpHeaders: ```
    value
  ```
  attributes: ```
    value
  ```
}
advanced
PropertyTypeRequiredDefault ValueDetails
maxTokensintegerNodata type=integer; maxLen=32767

Enter the maximum number of AI Tokens per rolling 24 hour period that Oracle APEX can use for this Vector Provider.

Please note that not every Vector Provider supports token usage information, so it might be possible that &PRODUCT_NAME can't enforce this limit.

serverTimeoutintegerNodata type=integer; maxLen=32767

Defines the transfer timeout for communicating with the Vector Provider in seconds.

staticIdstringYesdata type=string; maxLen=255
Use the Static ID to reference the Vector Provider in API Calls. Static IDs are also used to identify an existing Vector Provider when the application is being exported and imported to another workspace.
advanced {
  maxTokens: 42
  serverTimeout: 42
  staticId: value
}
comments
PropertyTypeRequiredDefault ValueDetails
commentsmultiline stringNodata type=multiline string; maxLen=4000
comments {
  comments: ```
    value
  ```
}

APEXlang Example

vectorProvider sample (
    name: value
    type: databaseOnnxModel
    localEmbedding {
        owner: value
        modelName: value
        function: value
    }
    genAIService {
        provider: ociGenAI
        modelName: value
    }
    ociGenAI {
        compartmentId: value
        servingMode: onDemand
        endpointId: value
    }
    endpointUrl {
        url: value
    }
    authentication {
        credentials: @component
    }
    additionalData {
        httpHeaders: ```
          value
        ```
        attributes: ```
          value
        ```
    }
    advanced {
        maxTokens: 42
        serverTimeout: 42
        staticId: value
    }
    comments {
        comments: ```
          value
        ```
    }
)