microsoft / semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps
https://aka.ms/semantic-kernel
MIT License
20.56k stars 2.97k forks source link

.Net ITextToImageService not following other service modalities standards #5657

Closed RogerBarreto closed 6 days ago

RogerBarreto commented 3 months ago

Net ITextToImageService doesn't follow other service modalities standards

Current

public interface ITextToImageService : IAIService
{
    public Task<string> GenerateImageAsync(
        string description,
        int width,
        int height,
        Kernel? kernel = null,
        CancellationToken cancellationToken = default);
}

Expected

public interface ITextToImageService : IAiService 
{
     public Task<IReadOnlyList<ImageContent>> GetImageContentsAsync(
         TextContent input,
         PromptExecutionSettings? executionSettings = null,
         Kernel? kernel = null,
         CancellationToken cancellationToken = default)
}
github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 6 days ago

This issue was closed because it has been inactive for 14 days since being marked as stale.