IGenerativeAI Interface

[Missing <summary> documentation for "T:GenerativeAI.IGenerativeAI"]

Definition

Namespace: GenerativeAI
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public interface IGenerativeAI

Methods

CreateEmbeddingModel Creates and initializes an embedding model for use in embedding-related AI tasks. The created model is configured with the provided model name and integrates with the underlying platform adapter.
CreateGenerativeModel Creates and initializes a generative model capable of producing AI-generated content. The model is configured with the specified parameters to customize its behavior and ensure safety compliance when generating content.
GetModelAsync Retrieves a specific AI model by its name asynchronously from the Google's AI platform.
GetPlatformAdapter Retrieves the platform adapter responsible for handling platform-specific operations such as authentication, API versioning, and URL construction. The platform adapter ensures seamless integration with the underlying platform by managing necessary credentials and configurations.
ListModelsAsync Asynchronously retrieves a list of AI models available in Google's AI platform. This method supports pagination to fetch models in batches using the specified page size and page token, enabling efficient handling of large model datasets.

See Also