GetService
This method retrieves an object of a specified service type from the vector store.
Declaration
// C#
public object? GetService(Type serviceType, object? serviceKey = null);Parameters
serviceTypeThe type of an object to retrieve. Supported ServiceType:
VectorStoreMetaData,OracleVectorStoreorOracleDataSource(.NET Core only).serviceKeyAn optional key that can be used to identify the target service.
Return Value
An object of a specified service type, otherwise null.
Implements
Microsoft.Extensions.VectorData.VectorStore