WeaviateVectorStore(HttpClient, WeaviateVectorStoreOptions) Constructor
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.
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.