OracleVectorStore(string connectionString, OracleVectorStoreOptions?)
Instantiates a new instance of OracleVectorStore
class using the provided database connection string.
Declaration
// C#
OracleVectorStore(string connectionString, OracleVectorStoreOptions? options = default)
Parameters
-
connectionString
The connection string which can be used to obtain 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
:
VectorStoreSystemName
: "Oracle"VectorStoreName
: The database name that the vector store is connected to. This value is auto-populated fromOracleConnection.DatabaseName
.
Exceptions
ArgumentNullException
: The providedconnectionString
parameter is null.ArgumentException
: The providedconnectionString
parameter is empty or whitespace.
See Also: