Partager via


IImageToTextService Interface

Definition

Interface for image-to-text services.

public interface IImageToTextService : Microsoft.SemanticKernel.Services.IAIService
type IImageToTextService = interface
    interface IAIService
Public Interface IImageToTextService
Implements IAIService
Derived
Implements

Properties

Attributes

Gets the AI service attributes.

(Inherited from IAIService)

Methods

GetTextContentsAsync(ImageContent, PromptExecutionSettings, Kernel, CancellationToken)

Get text content from image content.

Extension Methods

GetTextContentAsync(IImageToTextService, ImageContent, PromptExecutionSettings, Kernel, CancellationToken)

Get a single text generation result for the prompt and settings.

GetApiVersion(IAIService)

Gets the API version from service's Attributes

GetEndpoint(IAIService)

Gets the endpoint from service's Attributes.

GetModelId(IAIService)

Gets the model identifier from service's Attributes.

Applies to