Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: allow use of OpenAIAssistantAgent without needing to use GroupChat #6760

Open
matthewbolanos opened this issue Jun 17, 2024 · 1 comment · May be fixed by #6946
Open

.Net: allow use of OpenAIAssistantAgent without needing to use GroupChat #6760

matthewbolanos opened this issue Jun 17, 2024 · 1 comment · May be fixed by #6946
Assignees
Labels
agents experimental Associated with an experimental feature .NET Issue or Pull requests regarding .NET code PR: ready for review All feedback addressed, ready for reviews

Comments

@matthewbolanos
Copy link
Member

It's currently possible to invoke the ChatCompletionAgent with the InvokeAsync method. It should be possible to do the same with the Assistants implementation of agents for getting started experiences.

  1. It should be possible to provide an entire chat history that 1) creates a new thread and 2) has the agent perform a run on the new thread
  2. It should be possible to provide a thread that the agent can perform a run on

For #2, we likely need to provide user's the ability to create/manage their own thread. It should ideally inherit from ChatHistory so that it behaves identically. Exceptions should be thrown if the user attempts to do something that's not possible with Threads (i.e., add a system message in the middle of the thread).

@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code triage labels Jun 17, 2024
@crickman crickman added experimental Associated with an experimental feature agents labels Jun 18, 2024
@crickman crickman changed the title .Net: allow use of Assistants V2 without needing to use GroupChat .Net: allow use of OpenAIAssistantAgent without needing to use GroupChat Jun 18, 2024
@crickman crickman added PR: in progress Under development and/or addressing feedback and removed triage labels Jun 18, 2024
@crickman
Copy link
Contributor

FYI - This change is predicated on #6933

@crickman crickman self-assigned this Jun 25, 2024
@crickman crickman added PR: ready for review All feedback addressed, ready for reviews and removed PR: in progress Under development and/or addressing feedback labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents experimental Associated with an experimental feature .NET Issue or Pull requests regarding .NET code PR: ready for review All feedback addressed, ready for reviews
Projects
Status: Sprint: In Review
3 participants