autogen icon indicating copy to clipboard operation
autogen copied to clipboard

Support openai assistant api

Open gagb opened this issue 2 years ago • 7 comments

Why is this needed?

OpenAI Assistants are out and we should integrate them in AutoGen ASAP!

### Tasks
- [ ] https://github.com/microsoft/autogen/pull/616
- [ ] https://github.com/microsoft/autogen/pull/632
- [ ] https://github.com/microsoft/autogen/pull/636
- [ ] https://github.com/microsoft/autogen/issues/642
- [ ] https://github.com/microsoft/autogen/issues/643
- [ ] https://github.com/microsoft/autogen/issues/637
- [x] Add groupchat notebook for gptassistant
- [x] add links to all the notebooks in the website and add link to blogpost in readme
- [x] add the test to contrib openai test
- [ ] https://github.com/microsoft/autogen/issues/641
- [ ] https://github.com/microsoft/autogen/issues/686
- [ ] https://github.com/microsoft/autogen/pull/665
- [ ] https://github.com/microsoft/autogen/pull/718
- [ ] https://github.com/microsoft/autogen/issues/916

gagb avatar Nov 08 '23 17:11 gagb

Also allow for the use of threads as part of enabling mutli-agent engagement.

DementedWeasel1971 avatar Nov 09 '23 20:11 DementedWeasel1971

Relevant PR that will be reviewed and improved: https://github.com/microsoft/autogen/pull/616

gagb avatar Nov 10 '23 18:11 gagb

@LeoLjl @qingyun-wu I updated the roadmap with pending tasks.

gagb avatar Nov 12 '23 07:11 gagb

Also allow for the use of threads as part of enabling mutli-agent engagement.

This was added in #616 and #632. Please let us know if you see issues!

gagb avatar Nov 12 '23 07:11 gagb

@gagb , any estimate on when "Add groupchat notebook for gptassistant" will be availble?

mseefelder2 avatar Jan 03 '24 22:01 mseefelder2

@gagb , any estimate on when "Add groupchat notebook for gptassistant" will be availble?

We already have one? https://github.com/microsoft/autogen/blob/main/notebook/agentchat_oai_assistant_groupchat.ipynb

gagb avatar Jan 12 '24 19:01 gagb

I raised a defect on the same item. The groupchat is limited to agents that is generated in the session, the groupchat ends up throwing an error if you instantiate an already existing agent.

The bug I logged was https://github.com/microsoft/autogen/issues/1197#issuecomment-1889752818

DementedWeasel1971 avatar Jan 12 '24 20:01 DementedWeasel1971

Closing because this roadmap has been accomplished.

gagb avatar Jan 29 '24 21:01 gagb

Is there any plans to use AssistantEventHandler? It moves GPTAssistantAgent to the latest OpenAI style by using runs.stream instead of runs.create. Personally I think it's cleaner implementation. It's also needed for future streaming support.

Phodaie avatar Jun 11 '24 18:06 Phodaie

Keep calling from Google accounts these people have stolen money's from me and are acting as me these are hackers hacking me please contact fbi

On Tue, Jun 11, 2024, 1:40 PM Payman Hodaie @.***> wrote:

Is there any plans to use AssistantEventHandler? It moves GPTAssistantAgent to the latest OpenAI style by using runs.stream instead of runs.create. Personally I think it's cleaner implementation. It's also needed for future streaming support.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/autogen/issues/602#issuecomment-2161388446, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI3MSTFR4XOR2REK4OTHNJDZG5ACNAVCNFSM6AAAAAA7DHO7T2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRGM4DQNBUGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ghost avatar Jun 14 '24 22:06 ghost