Udostępnij za pośrednictwem


AgentBuilder.WithHttpClient(HttpClient) Method

Definition

Provide an httpclient (optional).

public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder WithHttpClient (System.Net.Http.HttpClient httpClient);
member this.WithHttpClient : System.Net.Http.HttpClient -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function WithHttpClient (httpClient As HttpClient) As AgentBuilder

Parameters

httpClient
HttpClient

Returns

AgentBuilder instance for fluid expression.

Applies to