OracleVectorStore(OracleDataSource, OracleVectorStoreOptions?)
Instantiates a new instance of OracleVectorStore class using the provided data source.
Declaration
// C#
OracleVectorStore(OracleDataSource dataSource, OracleVectorStoreOptions? options = default)
Parameters
-
dataSource
The data source that can be used to obtain open database connections.
-
optionsOptional vector store configuration options. Note: When these options are specified, the collections created within the vector store inherit these options.
Remarks
The vector store is created based on the following connector defined values in Microsoft.Extensions.VectorData.VectorStore.VectorStoreMetaData class:
-
VectorStoreSystemName: “Oracle” -
VectorStoreName: The name of the database that the vector store is connected to. This value is auto-populated fromOracleConnection.DatabaseName.
Exceptions
ArgumentNullException: The provided dataSource parameter is null.
<div class="infoboxnote" markdown="1">
**See Also:**
- [OracleDataSource Class](OracleDataSourceClass.html#GUID-144A8325-82E5-41CF-B98C-E5CE017625CF)
</div>