Share via


WeaviateVectorStore(HttpClient, WeaviateVectorStoreOptions) Constructor

Definition

Initializes a new instance of the WeaviateVectorStore class.

public WeaviateVectorStore (System.Net.Http.HttpClient httpClient, Microsoft.SemanticKernel.Connectors.Weaviate.WeaviateVectorStoreOptions? options = default);
new Microsoft.SemanticKernel.Connectors.Weaviate.WeaviateVectorStore : System.Net.Http.HttpClient * Microsoft.SemanticKernel.Connectors.Weaviate.WeaviateVectorStoreOptions -> Microsoft.SemanticKernel.Connectors.Weaviate.WeaviateVectorStore
Public Sub New (httpClient As HttpClient, Optional options As WeaviateVectorStoreOptions = Nothing)

Parameters

httpClient
HttpClient

HttpClient that is used to interact with Weaviate API. BaseAddress should point to remote or local cluster and API key can be configured via DefaultRequestHeaders. It's also possible to provide these parameters via WeaviateVectorStoreOptions.

options
WeaviateVectorStoreOptions

Optional configuration options for this class.

Applies to