using BotSharp.Abstraction.Instructs.Models;
namespace BotSharp.Abstraction.Instructs;
public interface IInstructService
{
///
/// Execute completion by using specified instruction or template
///
///
///
///
///
///
///
///
Task Execute(string agentId, RoleDialogModel message,
string? instruction = null, string? templateName = null,
IEnumerable? files = null, CodeInstructOptions? codeOptions = null);
///
/// A generic way to execute completion by using specified instruction or template
///
///
/// Prompt
/// Agent id
/// Llm Provider, model, message, prompt data
///
Task Instruct(string text, InstructOptions? options = null) where T : class;
}