* add ui streaming to distributed group chat example
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* fix pyright error after updating dependencies
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
---------
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
When the tool expects complex inputs that require nested models, pydantic will generate a JSON Schema that will include references to other schemas using the `$ref` keyword (cf https://json-schema.org/understanding-json-schema/structuring#dollarref).
But the `$ref` keyword is not supported by OpenAI.
This fix:
1. Resolves the references and inlines the corresponding schemas.
2. Removes the then useless root `$defs` field of the JSON schema to save tokens.
Co-authored-by: Jean-Marc Le Roux <contact@jmlx.io>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Resolves Tutorial Chapter for Custom ChatAgent #4114 -- updated tutorial chapter on agents and custom agents
Update README example to use tool call
Added "Models" section in AgentChat tutorial.
Added place holder for Tutorial Chapter for Swarm #4113.
* AgentChat pause and resume a task
Resolves#3859
* Add
* Update usage
* Update usage
* WIP to address stateful group chat
* Refactor group chat to add reset and flags for running
* documentation
* Agentchat refactor
* Move termination stop message to a separate field in task result
* Update quick start example
* Use string stop reason instead of stop message in task result for simpler API
* Use main function
* Remove isinstance check from FunctionTool (#3987)
* Move __init__ Args to class docstring
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Run LocalCommandLineCodeExecutor within venv
* Remove create_virtual_env func and add docstring
* Add explanation for LocalCommandLineExecutor docstring example
* Enhance docstring example explanation
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* first notebook for distributed rock, paper and scissors
* add distributed group chat notebook
* fix formatting
* fix pipeline issues
* fix formatting issue
* promote distributed group chat notebook into a multiple files
* fix docs
* fix docs
* fix pyright
* Apply suggestions from code review
Add PR review suggestions
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* improving group chat manager from round robin to LLM based
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove lfs file to fix
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* add gut back using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* re-add gif using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove gitattributes
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* redo git lfs add
---------
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>