semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

.Net Agents - Support single-agent / no-chat invocation of `OpenAIAssistantAgent`

Open crickman opened this issue 3 weeks ago • 0 comments

Motivation and Context

Support pattern for direct invocation of OpenAIAssistantAgent in alignment with ChatCompletionAgent

Description

  • Add instance method OpenAIAssistantAgent.InvokeAsync for a specified thread-id
  • Add instance method OpenAIAssistantAgent.AddChatMessageAsync for a specified thread-id
  • Add thread management methods to: Create and Delete a thread.
  • Refactored thread related actions to static class AssistantThreadActions so it may be utilized by both OpenAIAssistantAgent and OpenAIAssistantChannel
  • Updated samples to demonstrate no-chat invocation pattern

Contribution Checklist

crickman avatar Jun 25 '24 15:06 crickman