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.
options
Optional 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.
See Also: