add comments

This commit is contained in:
Jicheng Lu 2024-10-17 18:19:15 -05:00
parent e62a38eb5b
commit b912735849

View file

@ -14,6 +14,13 @@ public interface IInstructService
/// <returns></returns>
Task<InstructResult> Execute(string agentId, RoleDialogModel message, string? templateName = null, string? instruction = null);
/// <summary>
/// A generic way to execute completion by using specified instruction or template
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="instruction"></param>
/// <param name="agentId"></param>
/// <param name="options"></param>
/// <returns></returns>
Task<T?> Instruct<T>(string instruction, string agentId, InstructOptions options) where T : class;
}