CachingClient Constructor

Provides methods to interact with caching resources for generative AI models.

Definition

Namespace: GenerativeAI.Clients
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public CachingClient(
	IPlatformAdapter platform,
	HttpClient? httpClient = null,
	ILogger? logger = null
)

Parameters

platform  IPlatformAdapter

[Missing <param name="platform"/> documentation for "M:GenerativeAI.Clients.CachingClient.#ctor(GenerativeAI.Core.IPlatformAdapter,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILogger)"]

httpClient  HttpClient  (Optional)

[Missing <param name="httpClient"/> documentation for "M:GenerativeAI.Clients.CachingClient.#ctor(GenerativeAI.Core.IPlatformAdapter,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILogger)"]

logger  ILogger  (Optional)

[Missing <param name="logger"/> documentation for "M:GenerativeAI.Clients.CachingClient.#ctor(GenerativeAI.Core.IPlatformAdapter,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILogger)"]

Remarks

This client manages and performs operations related to cached contents, such as creating, retrieving, or listing cached resources.

See Also