Commit Graph

3198 Commits

Author SHA1 Message Date
Manojkumar Kotakonda
1fdeca4205 Added anthropic bedrock (#3103)
* Added anthropic bedrock

* Code format and fixed import

* Added tests for anthropic bedrock

* tests update

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-07-19 19:43:09 +00:00
Xiaoyun Zhang
d073678154 add streaming tool call example (#3167) 2024-07-19 16:36:04 +00:00
Li Jiang
bd735d0f82 Fix docstring (#3172) 2024-07-19 11:50:34 +00:00
gagb
e67ab18344 Improve team-one doc based on behavior (#237)
* Clarify generalist behav; add fig

* Add instructions for setting bing api key

* Add orchestration txt

* Add img for orch

* fix txt

* Add example for GAIA

* Add example for webarena

* answer q1

* answer q3

* Add what it cannot do

* add section on safety and risk
2024-07-19 01:25:52 +00:00
Kosta Petan
7a183e2e07 Initial dotnet CI (#203)
* basic CI WIP

* change authors to Microsoft

* add Aspire workload

* artificial commit to trigger workflow

* only publish packages if on main branch

* comment out the publishing jobs

* Remove publish from main dotnet CI workflow
2024-07-18 11:00:09 -07:00
Umer Mansoor
0cdbc345c5 Update JSON_mode_example.ipynb (#3130)
Improve minor mistakes in documentation
2024-07-18 02:07:40 +00:00
Nikita Fedyashev
0beb0a7f61 Fix typo in agentchat_nestedchat.ipynb (#3139) 2024-07-18 01:27:01 +00:00
Hugh Lyu
85b83e7af6 Add Agentok into gallery (#3148)
* docs: Added Agentok into gallery.

* Fixed the format issue

* Track agentok.png with Git LFS

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-07-18 01:25:29 +00:00
Kosta Petan
a46d82996b remove typo from .net samples url (#223) 2024-07-18 00:48:06 +00:00
afourney
211bfa01c3 TeamOne implementation of GAIA (#221)
Port of GAIA benchmark
2024-07-17 09:51:19 -07:00
Luca
5e937641cd Fixed a typo in tool-use.ipynb (#3151)
Fixed a typo in tool-use.ipynb: comaptible -> compatible
2024-07-17 12:17:08 +00:00
gagb
e69dd92c4f Improve team-one readme (#225)
* Update readme

* Improve readme further

* Add results
2024-07-16 22:18:06 +00:00
gagb
9e814cbad8 Update readme (#224)
* Update readme

* Improve readme further
2024-07-16 21:43:29 +00:00
Li Jiang
6ef5c3027d Update qdrant notebook for new qdrant vectordb (#3140)
* Add qdrant notebook, rename notebooks

* Revert changes of pgvector notebook

* Fix assertion error
2024-07-16 06:44:48 +00:00
Xiaoyun Zhang
5292b816ad update (#3144) (#3145) 2024-07-15 23:13:31 +00:00
Ryan Sweet
89db8b12f1 Improving the readme and renaming examples dir (#218)
* Improving the readme and renaming examples dir

* fix ci

* updating name

* nuance the wording
2024-07-15 15:24:31 -07:00
Xiaoyun Zhang
970c1961dd [.Net] update dotnet-ci and dotnet-release to use 8.0.x version when setting up .NET. And enable format check (#3136)
* use 8.0.x versin

* enable format check

* change file header

* apply code format

* add instructions in ci to fix format error

* add comment back
2024-07-15 19:33:10 +00:00
Xiaoyun Zhang
7205ccc3b9 fix build and tests (#3134) 2024-07-15 19:20:22 +00:00
Ryan Sweet
bf4d73434e initial version of new README and programming model doc (#209) 2024-07-15 11:29:06 -07:00
Ryan Sweet
e409f020e6 remove vestigal workflows app (#217) 2024-07-15 11:04:20 -07:00
Xiaoyun Zhang
178bb8d325 add cancellation token to transition check lambda (#3132) 2024-07-15 18:02:30 +00:00
Jack Gerrits
ec500a31b8 Marketing sample agents (#210)
* add writer impl

* add graphic designer

* add worker and auditor, remove writer

* add worker, add simple test main
2024-07-15 13:43:04 -04:00
Xiaoyun Zhang
96146aa9b6 [.Net] update sk version from 1.10.0 to 1.15.1 (#3131)
* update sk version

* fix sk test error
2024-07-15 16:51:05 +00:00
afourney
524a5a78f9 Initial work moving mdconvert, and enabling browser Q&A (#211)
* Initial work moving mdconvert, and enabling browser Q&A
2024-07-15 09:47:38 -07:00
gagb
386680fd3e Add initial base and ledger orchestrator, improve executor (#206)
* Add initial base orchestrator

* Add basic ledger based orchestrator

* Improve executor; Improve prompts and logging for orchestration
2024-07-15 09:42:28 -07:00
Li Jiang
744fcbe299 Fix websurfer test error (#3138)
* Fix assertion error

* Update triggers
2024-07-15 15:37:15 +00:00
Anush
5b1dc3bf63 feat: Qdrant support for the VectorDB interface (#3035)
* feat: Qdrant support

* chore: pre-defined vector db

* Fix issues

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-07-15 13:19:58 +00:00
Mark Ward
24d509c1b6 middleware examples updated to return modified message passing assertion. modified the default agent reply so that it is different from the user's prompt (#3128) 2024-07-13 20:20:56 +00:00
Victor Dibia
78b63438e9 extend base log handler in team one to also write events to a log file (#212)
Looks good to me.
2024-07-12 22:21:45 +00:00
gagb
4c87ed71eb Improve file surfer (#204)
* Move file surfer to use baseagent

* Remove unused code

* Fix hatch err

* Intermediate commit to move mdconvert

* Fix linting errors

* Implement file surfer from autogen

* Run hatch check

* Fix more linting errors

* Fix errors in requests_markdown_browser. Ignore errors in mdconvert.

---------

Co-authored-by: Adam Fourney <adamfo@microsoft.com>
2024-07-12 12:48:47 -07:00
Chi Wang
ff311eec6c fix notebook (#3093) 2024-07-11 23:45:05 +00:00
Xiaoyun Zhang
210e94d705 [.Net] Prepare release note for AutoGen.Net 0.0.16 (#3117)
* add release note

* update repo info
2024-07-11 19:31:40 +00:00
afourney
04d9709aec Agnext websurfer (#205)
* Initial work on multimodal websurfer

* A little more progress.

* Getting function calling to work.

* Some basic progress with navigation.

* Added ability to print multimodal messages to console.

* Fixed hatch error

* Nicely print multimodal messages to console.

* Got OCR working.

* Fixed the click action.

* Solved some hatch errors.

* Fixed some formatting errors.

* Fixed more type errors.

* Yet more fixes to types.

* Fixed many type errors.

* Fixed all type errors. Some needed to be ignored. See todos.

* Fixed all? hatch errors?

* Fixed multiline aria-names in prompts.
2024-07-11 10:52:29 -07:00
Yiran Wu
87bcaa43de add stateflow to related papers (#3108) 2024-07-11 17:36:48 +00:00
Xiaoyun Zhang
b021e44540 [.Net] Agent as service: Run an IAgent as openai chat completion endpoint (#2633)
* update

* add test

* clean up

* update

* Delete dotnet/src/AutoGen.Server/AutoGen.Service.csproj.user

* implement streaming

* add sample project

* rename AutoGen.Service to AutoGen.WebAPI

* rename AutoGen.Service to AutoGen.WebAPI
2024-07-11 16:34:15 +00:00
Xiaoyun Zhang
4e95630fa9 [.Net] fix #2695 and #2884 (#3069)
* add round robin orchestrator

* add constructor for orchestrators

* add tests

* revert change

* return single orchestrator

* address comment
2024-07-10 22:12:42 +00:00
afourney
5996b452eb TeamOne handle multimodal console (#200)
* Added ability to print multimodal messages to console.

* Fixed hatch error
2024-07-10 00:01:13 -07:00
afourney
14628f2ae0 add ParametersSchema to tools exports (#199) 2024-07-09 21:43:16 +00:00
gagb
4553bf9054 Move file surfer to use baseagent (#198)
* Move file surfer to use baseagent

* Remove unused code

* Fix hatch err
2024-07-09 21:40:07 +00:00
afourney
ea2fcc28c3 Removes a redundant time field. (#197) 2024-07-09 14:02:09 -07:00
afourney
699f024a6d Adds a standard logging / log-printing class to TeamOne (#194)
* Added initial code for TeamOne utils.

* Fixed hatch errors.

* Updated examples.

* Fixed more hatch errors.

* examples/example_coder.py

* Added standard logging for TeamOne

* Read time from log record.
2024-07-09 13:51:05 -07:00
Jack Gerrits
05e72084e8 Allow model client to accept the tool schema directly (#196) 2024-07-09 16:44:58 -04:00
Jack Gerrits
2191b3144b Fix double await (#195) 2024-07-09 16:27:26 -04:00
afourney
f7357499be Teamone utils (#192)
* Added initial code for TeamOne utils.

* Fixed hatch errors.

* Updated examples.

* Fixed more hatch errors.

* Improve readme

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-07-09 17:46:55 +00:00
afourney
beada0279c Initial proof-of-concept for TeamOne BaseAgent class (#181)
* Initial proof-of-concept for TeamOne BaseAgent class

* Fixed most hatch errors.

* Handle final Hatch error

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-07-08 22:36:25 +00:00
gagb
7d12c70cff Add missing file surfer dependency (#191) 2024-07-08 22:21:54 +00:00
Jack Gerrits
bf32bb67ae [Python] Specify subscriptions as strings and not types (#169)
* Add infra for message serialization

* Add message type registry to handle type registration
2024-07-08 16:45:14 -04:00
Kosta Petan
afa95d0585 add az-cli and dotnet as features to devcontainer setup (#179) 2024-07-08 14:22:01 -04:00
Zoltan Lux
f55a98f32b Demo Notebook for Using Gemini with VertexAI (#3032)
* add notebook for using Gemini with VertexAI

* add missing image

* remove part with workload identity federation

* Spelling

* Capitalisation and tweak on config note.

* autogen gemini gcp image

* fix formatting

* move gemini vertexai notebook to website/docs/topics/non-openai-models

* Adjust license

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* remove auto-generated cell

---------

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-07 22:11:35 +00:00
Prithvi
82903f5f89 [.Net] Update FunctionCallTemplate.tt to encode " (#3068)
* Update FunctionCallTemplate.tt

changed the desscription assigning to handle double quotes in comments and prevent the generated code from breaking.

* Added the necessary changes

Fixed handling of double quotes in descriptions within FunctionCallTemplate.tt.
Standardized newline characters to ensure consistency.
Updated test cases in FunctionCallTemplateEncodingTests to verify correct encoding of double quotes in descriptions.
Cleaned up unnecessary using directives in FunctionCallTemplateEncodingTests.
Aligned the template with the approved test output.

* test cases passing

Test cases passing like `Starting test execution, please wait...
A total of 1 test files matched the specified pattern.

Passed!  - Failed:     0, Passed:     9, Skipped:     0, Total:     9, Duration: 66 ms - AutoGen.SourceGenerator.Tests.dll (net8.0)`

* Delete FunctionCallTemplateTests.TestFunctionCallTemplate.approved.txt

Deleted the ApprovalTests/FunctionCallTemplateTests.TestFunctionCallTemplate.approved.txt successfully!

* Revert "Delete FunctionCallTemplateTests.TestFunctionCallTemplate.approved.txt"

This reverts commit 7a6ea9cf0d.

---------

Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
2024-07-05 23:10:58 +00:00