SqliteServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods to register SQLite Microsoft.Extensions.VectorData.IVectorStore instances on an IServiceCollection.
public static class SqliteServiceCollectionExtensions
type SqliteServiceCollectionExtensions = class
Public Module SqliteServiceCollectionExtensions
- Inheritance
-
SqliteServiceCollectionExtensions
Methods
| AddSqliteVectorStore(IServiceCollection, SqliteVectorStoreOptions, String) |
Register a SQLite Microsoft.Extensions.VectorData.IVectorStore with the specified service ID and where the SQLite SqliteConnection is retrieved from the dependency injection container. In this case vector search extension loading should be handled manually. |
| AddSqliteVectorStore(IServiceCollection, String, SqliteVectorStoreOptions, String) |
Register a SQLite Microsoft.Extensions.VectorData.IVectorStore with the specified service ID. SqliteConnection instance will be initialized, connection will be opened and vector search extension with be loaded. |
| AddSqliteVectorStoreRecordCollection<TKey,TRecord>(IServiceCollection, String, SqliteVectorStoreRecordCollectionOptions<TRecord>, String) |
Register a SQLite Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 and Microsoft.Extensions.VectorData.IVectorizedSearch`1 with the specified service ID and where the SQLite SqliteConnection is retrieved from the dependency injection container. In this case vector search extension loading should be handled manually. |
| AddSqliteVectorStoreRecordCollection<TKey,TRecord>(IServiceCollection, String, String, SqliteVectorStoreRecordCollectionOptions<TRecord>, String) |
Register a SQLite Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 and Microsoft.Extensions.VectorData.IVectorizedSearch`1 with the specified service ID. SqliteConnection instance will be initialized, connection will be opened and vector search extension with be loaded. |