BotSharp/src/Infrastructure/BotSharp.Abstraction/MLTasks/IImageVariation.cs

20 lines
551 B
C#
Raw Normal View History

2024-07-18 20:17:40 +00:00
using System.IO;
namespace BotSharp.Abstraction.MLTasks;
public interface IImageVariation
{
/// <summary>
/// The LLM provider like Microsoft Azure, OpenAI, ClaudAI
/// </summary>
string Provider { get; }
/// <summary>
/// Set model name, one provider can consume different model or version(s)
/// </summary>
/// <param name="model">deployment name</param>
void SetModelName(string model);
2024-07-18 22:07:14 +00:00
Task<RoleDialogModel> GetImageVariation(Agent agent, RoleDialogModel message, Stream image, string imageFileName);
2024-07-18 20:17:40 +00:00
}