Język

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

Name Description
Attributes

Gets the AI service attributes.

(Inherited from IAIService)

Methods

Name Description
GetTextContentsAsync(ImageContent, PromptExecutionSettings, Kernel, CancellationToken)

Get text content from image content.

Extension Methods

Name Description
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.

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

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

Applies to