Skip to content

Commit

Permalink
docs: adds missing doc comment for new method extension
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Biret <[email protected]>
  • Loading branch information
baywet committed Nov 29, 2024
1 parent 01af860 commit d89d041
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ namespace Microsoft.SemanticKernel;
/// </summary>
public static class DeclarativeAgentExtensions
{
/// <summary>
/// Creates a chat completion agent from a declarative agent manifest asynchronously.
/// </summary>
/// <typeparam name="T">The type of the agent to create.</typeparam>
/// <param name="kernel">The kernel instance.</param>
/// <param name="filePath">The file path of the declarative agent manifest.</param>
/// <param name="pluginParameters">Optional parameters for the Copilot Agent Plugin setup.</param>
/// <param name="promptExecutionSettings">Optional prompt execution settings. Ensure you enable function calling.</param>
/// <param name="cancellationToken">Optional cancellation token.</param>
/// <returns>A task that represents the asynchronous operation. The task result contains the created chat completion agent.</returns>
public static async Task<T> CreateChatCompletionAgentFromDeclarativeAgentManifestAsync<T>(
this Kernel kernel,
string filePath,
Expand Down

0 comments on commit d89d041

Please sign in to comment.