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.
-
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:
-
VectorStoreSystemName: “Oracle” -
VectorStoreName: The database name that the vector store is connected to. This value is auto-populated fromOracleConnection.DatabaseName.
Exceptions
-
ArgumentNullException: The providedconnectionStringparameter is null. -
ArgumentException: The providedconnectionStringparameter is empty or whitespace.<div class="infoboxnote" markdown="1"> **See Also:** - [OracleConnection.ConnectionString](https://learn.microsoft.com/en-us/dotnet/api/system.data.oracleclient.oracleconnection.connectionstring?view=netframework-4.8.1) </div>