AddKeyedOracleVectorStore(IServiceCollection, object?, string, OracleVectorStoreOptions?, ServiceLifetime)
このメソッドは、指定された接続文字列およびサービス存続期間を使用して、キーが指定されたOracleVectorStoreを、VectorStoreとして登録します。
宣言
// C#
public static IServiceCollection AddKeyedOracleVectorStore(this IServiceCollection services,object? serviceKey,string connectionString,OracleVectorStoreOptions? options = null,ServiceLifetime lifetime = ServiceLifetime.Singleton) パラメータ
servicesVectorStoreを登録するIServiceCollection。serviceKeyベクトル・ストアに関連付けるキー。
connectionString接続文字列です。
optionsベクトル・ストアを詳細に構成するためのオプション。
lifetimeストアのサービス存続期間。デフォルトは
ServiceLifetime.Singletonです。
戻り値
サービス・コレクションを返します。