Leonardo Pinheiro
db2410c705
Feature/azure ai inference client ( #5153 )
...
* Rebase to latest main branch
* Moved _azure module to azure
* Validate extra_create_args in and json response
* Added Support for Github Models
* Added normalize_name and assert_valid name
* Added Tests for AzureAIChatCompletionClient
* WIP: Azure AI Client
* Added: object-level usage data
* Added: doc string
* Added: check existing response_format value
* Added: _validate_config and _create_client
* lint
* merge dependencies
* add tests for img and function calling
* support actual tests through env vars
* address mypy errors
* doc example fix
* fmt
* fix doc fmt
* Update python/packages/autogen-ext/src/autogen_ext/models/azure/_azure_ai_client.py
---------
Co-authored-by: Rohan Thacker <thackerrohan4@gmail.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2025-01-25 08:26:48 +10:00
Gerardo Moreno
89631966cb
RichConsole: Prettify m1 CLI console using rich #4806 ( #5123 )
2025-01-24 09:50:38 -08:00
Leon De Andrade
34bc82e24f
Jupyter Code Executor in v0.4 (alternative implementation) ( #4885 )
2025-01-18 21:11:40 +00:00
Leonardo Pinheiro
918292f51e
Semantic kernel model adapter ( #4851 )
...
* initial sk model adapter implementation
* add sk tool module
* implement streaming and update tests
* update lock
* linting
* add semantic kernel extras
* add docstring and format
* update dependencies and format/lint
* add model info to sk constructor
* update uv.lock
* customize prompt settings
* update uv.lock
* add docs
* fix sk docstring linting
* update create docstrings
* fmt and improve tool docstring
* update sk tool docs
* coerce doc json serialization failure
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2025-01-18 18:57:20 +10:00
Sachin Joglekar
8bd65c672f
Add ChatCompletionCache along with AbstractStore for caching completions ( #4924 )
...
* Add ChatCompletionCache along with AbstractStore for caching completions
* Addressing comments
* Improve interface for cachestore
* Improve documentation & revert protocol
* Make cache store typed, and improve docs
* remove unnecessary casts
2025-01-16 15:47:38 -08:00
Jack Gerrits
1a3ac626eb
Update version to 0.4.3 pre-emptively ( #5066 )
...
* Update version to 0.4.3
* lock
* update lock
* lock
2025-01-15 19:11:32 -05:00
Jacob Alber
ae98c9d764
feat: Change async input strategy ( #5060 )
2025-01-15 10:12:47 -05:00
Leonardo Pinheiro
95bd514a9a
Graphrag integration ( #4612 )
...
* add initial global search draft
* add graphrag dep
* fix local search embedding
* linting
* add from config constructor
* remove draft notebook
* update config factory and add docstrings
* add graphrag sample
* add sample prompts
* update readme
* update deps
* Add API docs
* Update python/samples/agentchat_graphrag/requirements.txt
* Update python/samples/agentchat_graphrag/requirements.txt
* update docstrings with snippet and doc ref
* lint
* improve set up instructions in docstring
* lint
* update lock
* Update python/packages/autogen-ext/src/autogen_ext/tools/graphrag/_global_search.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update python/packages/autogen-ext/src/autogen_ext/tools/graphrag/_local_search.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* add unit tests
* update lock
* update uv lock
* add docstring newlines
* stubs and typing on graphrag tests
* fix docstrings
* fix mypy error
* + linting and type fixes
* type fix graphrag sample
* Update python/packages/autogen-ext/src/autogen_ext/tools/graphrag/_global_search.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update python/packages/autogen-ext/src/autogen_ext/tools/graphrag/_local_search.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update python/samples/agentchat_graphrag/requirements.txt
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* update overrides
* fix docstring client imports
* additional docstring fix
* add docstring missing import
* use openai and fix db path
* use console for displaying messages
* add model config and gitignore
* update readme
* lint
* Update python/samples/agentchat_graphrag/README.md
* Update python/samples/agentchat_graphrag/README.md
* Comment remaining azure config
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-01-15 21:04:17 +10:00
Jack Gerrits
cf8446b37e
Fixup autogen-ext version ( #5030 )
...
* Update autogen-ext version
* lock
2025-01-13 21:31:41 +00:00
Jack Gerrits
91ec611338
Update version to 0.4.1 ( #5029 )
...
* Update version to 0.4.1
* lock
* dest dir
* remove website changes
2025-01-13 21:22:03 +00:00
Johan Forngren
1a6e9766c9
Add tiktoken as a dependency in pyproject.toml ( #5008 )
...
* Add tiktoken as a dependency in pyproject.toml
Signed-off-by: Johan Forngren <johan.forngren@decerno.se>
Update uv.lock with tiktoken dependency from fbfdc9f652384b70f7461c90ada13f87e83677e0
Signed-off-by: Johan Forngren <johan.forngren@decerno.se>
* Updating autogen-ext dependencies per https://github.com/microsoft/autogen/pull/5008#issuecomment-2585383877
Signed-off-by: Johan Forngren <johan.forngren@decerno.se>
---------
Signed-off-by: Johan Forngren <johan.forngren@decerno.se>
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
2025-01-13 18:53:18 +00:00
Victor Dibia
9f351c50ff
Minor Updates to AGS Docs ( #5010 )
...
* update docs
* update docs
* update ags documentation
* update uv lock
* update usage
2025-01-11 18:25:18 -08:00
Jack Gerrits
4dab09cabe
Update magentic-one-cli version to 0.2.0 ( #4973 )
...
* Update magentic-one-cli version to 0.2.0
* lock
2025-01-09 15:54:36 -05:00
Jack Gerrits
c2721ff65b
Update all versions to 0.4.0 ( #4941 )
...
* Update all versions to 0.4.0
* update redirect
* install with upgrade for agentchat
2025-01-09 15:29:54 -05:00
afourney
7131dc945d
Added m1 cli package ( #4949 )
...
* Added m1 cli package
* update CI, install card, deprecations
* Update python/packages/magentic-one-cli/pyproject.toml
* fix mypy and pyright
* add package
* Suppress 'ResourceWarning: unclosed socket'
---------
Co-authored-by: Jack Gerrits
2025-01-08 14:05:08 -08:00
Eric Zhu
f113c9a959
Move core samples to /python/samples ( #4911 )
...
* Move core samples to /python/samples
* Fix proto check
* Add sample code check workflow
* Update pyright settings; fix types
2025-01-07 23:31:29 +00:00
Jack Gerrits
d4b406b78c
refactor!: Reduce dependencies of core, remove image from URL ( #4919 )
...
* Reduce dependencies of core
* Update lock
* add package to test deps
* Update lock
* aio console dep
* Update lock
2025-01-07 18:30:04 +00:00
Eric Zhu
725d573d5b
Update tutorial content; move selector group chat and swarm outside of tutorial. ( #4915 )
...
* Update tutorial content; move selector group chat and swarm outside of tutorial.
* Add redirect
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2025-01-07 09:57:23 -08:00
Jack Gerrits
310564908b
fix!: Move azure auth provider to separate module ( #4912 )
...
* Move azure auth provider to separate module
* Update lock
* fix component gen
2025-01-07 12:21:50 -05:00
afourney
a6612e683d
Added tests for FileSurfer. ( #4913 )
2025-01-06 16:54:14 -08:00
Sachin Joglekar
ecdade3d3e
Add coverage task & integrate with poe check ( #4847 )
...
* Add coverage task & integrate with poe check
* Adding workflow
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-01-02 09:49:18 -05:00
Jack Gerrits
8a83262a90
add azure deps to openai extra ( #4871 )
...
* add azure deps to openai extra
* lock
2024-12-31 15:23:39 -05:00
Jack Gerrits
e6ac2f37fa
Update logged events, add message id to send message ( #4868 )
...
* Update logged events
* add message_id
* serialize payload for log
* fix pytest warning
* serialization
* fix test
* lock
* fix warning and test
2024-12-31 15:11:48 -05:00
Jack Gerrits
fb1094d9c3
Update to dev13 ( #4862 )
2024-12-30 17:12:51 -05:00
Eric Zhu
a20ec102d3
AgentChat tutorial update to include model context usage and langchain tool ( #4843 )
...
* Doc update to include model context usage
* add langchain tools
* update langchain tool wrapper api doc
* updat
* update
* format
* add langchain experimental dev dep
* type
* Fix type
* Fix some types in langchain adapter
* type ignores
2024-12-30 09:09:33 -08:00
Eric Zhu
d933b9ab5f
dev12 ( #4839 )
...
* dev12
2024-12-27 11:49:12 -08:00
Jack Gerrits
fadff4aece
Fix definition of workspace package, remove uv pin ( #4830 )
...
* Fix definition of workspace package, remove uv pin
* add --all-packages
* pin docs uv versions for older project structure
* try old version to verify CI
* Use workflow target
* change syntax
* change check
* try with var in matrix
* add all packages to workspace
* remove project table
2024-12-27 13:11:42 -05:00
Sachin Joglekar
d1dff316bc
Update pydantic version & fix mypy errors ( #4811 )
...
* Update pydantic version & fix mypy errors
* uv lock changes
* Update lock
* update lockfile
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-27 08:53:52 -05:00
Eric Zhu
f774eaa105
Add minimum dep versions ( #4803 )
2024-12-26 12:40:32 -05:00
Jack Gerrits
2c76ff9fcc
More improvements for component config ( #4799 )
...
* More improvements for component config
* clean output
* working dir
* fix fstring
* key error
* remove mv
2024-12-23 18:29:23 -05:00
Hussein Mozannar
b9d682c0a1
WebSurfer Documentation and Fixes ( #4624 )
...
* fixes remake
* modified toml adding tests
* playwright tests
* tests websurfer
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-12-12 14:42:40 -08:00
Victor Dibia
85cf942d37
Add v1 Drag and Drop Team Composition to AGS ( #4609 )
...
* v1 progress on drag_drop
* add v1 for node deletions
* major refactor, add sidebar to teams and session playground
* format updates
* formatting updates
* update formatting
* formatting and other checks
* add mangentic one deps
* general refactor, fix new team creation bug etc...
* minor bugfix
* update uv lock
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-12-11 14:31:25 -08:00
Eric Zhu
6c1f638960
dev11 release ( #4642 )
...
* dev11 release
2024-12-10 08:28:48 -08:00
Jack Gerrits
7e7265ddd0
Update version for dev10 ( #4630 )
...
* Update version for dev10
* fix notebook
2024-12-09 19:33:21 -08:00
Hussein Mozannar
3817b8ddf6
Add MagenticOneGroupChat to AGS ( #4595 )
...
* add magenticonegroupchat to ags
* fix termination condition
* typing order check
* format error
* fix M1 orchestrator handle tool mesages
* add filesurfer and coder
2024-12-08 21:44:16 -08:00
peterychang
c5c3444bce
Add user proxy docs. Make user proxy's default impl cancellable ( #4459 )
...
* Add user proxy docs. Make user proxy's default impl cancellable
* remove unnecessary import
* revert accidental change
* address PR comments
* uv sync
* Fix bugs
* poe format
* fixing mypy issues
* poe format
* ignore pyright errors for ainput
* fix example code
* remove unused import
* fix accidental reversion, example code
* formatting
* fix typing
* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/agents.ipynb
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/agents.ipynb
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-06 14:53:59 -08:00
Eric Zhu
8707729da9
dev9 ( #4585 )
...
* dev9
2024-12-06 00:43:56 -08:00
Jack Gerrits
2b878763f8
Move grpc runtimes to ext, flatten application ( #4553 )
...
* Move grpc runtimes to ext, flatten application
* rename to grpc
* fmt
2024-12-04 16:23:20 -08:00
afourney
5235bbc0d6
FileSurfer in AgentChat ( #4360 )
...
* Added an implementation of FileSurfer to AgentChat
2024-12-03 12:14:47 -08:00
Leonardo Pinheiro
1f90dc5ea9
Update OpenAI Assistante Agent on_reset ( #4423 )
...
* update reset and imports
* add missing imports
* update lock file
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-12-02 15:48:18 +10:00
gagb
b1e40017c3
Fix client mismatch in video surfer and its tools ( #4431 )
...
* Add initial code
* Update and add readme
* Update
* update readme
* Refine action space
* Add tutorial
* Improve doc string
* Improve doc string
* Remove readme
* Update toml
* Update assignment
* Expose the tools
* Update pyproject toml
* Improve docs
* remove assignment'
* Run poe format
* Update uv lock
* Fix mypy errors
* Fix linting errors
* poe format
* run checks
* Updaye
* Rename submodule
* Improve documentation
* Use same model client in video surfer
* Use same model client in video surfer
* Update uv lock
---------
Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-11-29 16:27:30 -08:00
gagb
b6a7d56844
Adds Video Surfer to autogen_ext ( #4387 )
...
* Add initial code
* Update and add readme
* Update
* update readme
* Refine action space
* Add tutorial
* Improve doc string
* Improve doc string
* Remove readme
* Update toml
* Update assignment
* Expose the tools
* Update pyproject toml
* Improve docs
* remove assignment'
* Run poe format
* Update uv lock
* Fix mypy errors
* Fix linting errors
* poe format
* run checks
* Updaye
* Rename submodule
* Improve documentation
---------
Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-11-29 14:41:23 -08:00
Eric Zhu
f70869f236
update dev8 ( #4417 )
2024-11-27 14:39:31 -08:00
Eric Zhu
a4e6d0d977
Add grpcio back to deps ( #4402 )
...
* Add grpcio back to deps
* Update uv lock
2024-11-27 09:08:14 -05:00
Hussein Mozannar
6184e15c5e
Fix Reset of Magentic-One Orchestrator ( #4394 )
...
* fix reset magentic one
* fix infinite reset
2024-11-26 22:59:08 -08:00
Hussein Mozannar
531ec38073
Ags web surfer ( #4340 )
...
* initial addition
* working without multimodal messages
* show images
* remove temp changes
* ui type websurfer
* fix issue with image width, enable text truncation, enable viewing images full screen
---------
Co-authored-by: Victor Dibia <victor.dibia@gmail.com>
2024-11-26 21:24:45 -08:00
Victor Dibia
fe96f7de24
Add Session Saving to AGS ( #4369 )
...
* fix import issue related to agentchat update #4245
* update uv lock file
* fix db auto_upgrade logic issue.
* im prove msg rendering issue
* Support termination condition combination. Closes #4325
* fix db instantiation bug
* update yarn.lock, closes #4260 #4262
* remove deps for now with vulnerabilities found by dependabot #4262
* update db tests
* add ability to load sessions from db ..
* format updates, add format checks to ags
* format check fixes
* linting and ruff check fixes
* make tests for ags non-parrallel to avoid db race conditions.
* format updates
* fix concurrency issue
* minor ui tweaks, move run start to websocket
* lint fixes
* update uv.lock
* Update python/packages/autogen-studio/autogenstudio/datamodel/types.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update python/packages/autogen-studio/autogenstudio/teammanager.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* reuse user proxy from agentchat
* ui tweaks
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
2024-11-26 15:39:36 -08:00
Jack Gerrits
1a02e2ba4b
Update version to dev7 ( #4359 )
...
* Update version to dev7
* update other references
2024-11-25 14:09:41 -08:00
Jack Gerrits
7c1cabf07e
Add tool to check example in docstrings ( #4353 )
...
* Add tool to check example in docstrings
* update lock
* add task
* add ignored message
* add example check CI
2024-11-25 16:10:45 -05:00
Jack Gerrits
9b967fc79a
Update pyright and mypy ( #4348 )
...
* Update pyright and mypy
* fmt
2024-11-25 15:08:36 -05:00