2822 Commits

Author SHA1 Message Date
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 7a6ea9cf0d5831ba7a5c445a7f9b64da713c600d.

---------

Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
2024-07-05 23:10:58 +00:00
Shaun
0a82b3eb76
fix: support openai service account apikey format (#3078) 2024-07-05 16:59:58 +00:00
Media
97b8e119d9
Update AutoTX Link on Gallery.json (#3082) 2024-07-04 18:26:47 +00:00
William W Wang
f211994331
Update azure_cosmos_db.md (#3043) v0.2.32 2024-07-04 15:16:29 +00:00
Qingyun Wu
0655b4341b
bump version (#3073) 2024-07-04 05:09:22 +00:00
afourney
8eb8a4b14d Added user proxy. (#176)
* Added user proxy.

* Add dependency

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-07-03 17:13:24 -07:00
gagb
f82f3852d3 Update to use new src (#177) 2024-07-03 22:47:34 +00:00
Eric Zhu
5abaacc56e Update foundation chapter on runtime running (#175) 2024-07-03 15:03:24 -07:00
HRUSHIKESH DOKALA
b4a3f263b0
Cohere Client (#3004)
* initial setup for cohere client

* client update

* changes: ClintType added to the utils

* Revert "changes: ClintType added to the utils"

This reverts commit 80d61552287f2d2eff50b4c0f1a4adfd97233aa3.

* Message conversion to Cohere, Parameter handling, cost calculation, streaming, tool calling

* Changed Groq references.

* minor fix

* tests added

* ref fix

* added in the workflows

* Fixed bug on non-streaming text generation

* fix: formatting

* Support Cohere rule for last message not USER when tool_results exist

* Added Cohere to documentation

* fixed client.py merge, removed unnecessary comments in groq.py, updated Cohere documentation, added Groq documentation

* log: ignored params

* update: custom exception added

---------

Co-authored-by: Mark Sze <mark@sze.family>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-07-03 14:33:03 +00:00
afourney
2e7c7e2d82 Cleaned up Dockerfile for agnext (#173)
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-07-03 00:10:24 -07:00
afourney
99ecb5ec7f Added 'request_halt' flag, and fixed an orchestration bug (#174)
* Added 'request_halt' flag, and fixed an orchestration bug

* Fixed formatting errors.

* Fixed a hatch error with casting.
2024-07-03 00:04:44 -07:00
F. Hinkelmann
8133b7de22
Fix simple typo in chat-termination.ipynb (#3050) 2024-07-03 02:26:07 +00:00
gagb
9df928b73e Improve printing further (#172)
* Improve pretty printing

* Improve printing further
2024-07-02 18:09:45 -07:00
gagb
e0065cab42 Improve pretty printing (#171) 2024-07-03 00:50:08 +00:00
gagb
bcec0502d7 Numerous fixes for agbench (#170)
* Shift to new runtime API

* Add pretty printing

* Reformat

* Fix linting errors
2024-07-02 23:18:48 +00:00
Mark Sze
fbf24a5f6f
Blog post for enhanced non-OpenAI model support (#2965)
* Blogpost for enhanced non-OpenAI model support

* update: quickstart with simple conversation

* update: authors details

* Added upfront text

* Added function calling, refined text. Added chess for alt-models notebook, updated examples listing.

* Added Groq to blog

* Removed acknowledgements

---------

Co-authored-by: Hk669 <hrushi669@gmail.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-07-02 19:28:24 +00:00
afourney
ca42b560e9 Initial work porting AutoGenBench to AGNext (#141)
* Initial check-in of agbench

* Moved agbench to intended directory.

* Removed pyautogen dependency

* moved to using process_until_idle

* Added TeamOne template.

* User TeamOne agent classes.

* migrate to hatch, move benchmarks out, add CI (#166)

* Resolve type issues (#168)

Thanks for fixing types.

* Fixed import.

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-07-02 10:58:49 -07:00
Qingyun Wu
3f1be8abcb
update readme (#3057)
* update readme

* Update README.md

Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>

* add notion link

---------

Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-07-02 17:49:58 +00:00
F. Hinkelmann
8e66590a1e
Fix simple typos in human-in-the-loop.ipynb (#3051) 2024-07-02 16:25:06 +00:00
Li Jiang
62792478a4
Update qdrant dependency (#3064)
* Update qdrant dependency

* Update qdrant dependency
2024-07-02 16:00:31 +00:00
Li Jiang
8c56cc7d80
Fix llama_index tests (#3063) 2024-07-02 13:55:32 +00:00
Xiaoyun Zhang
66e50618bd
[.Net] Fix #3045 (#3047)
* make IStreamingMessage obsolete

* update final reply message
2024-07-01 16:52:57 +00:00
Jack Gerrits
766635394a Update send_message to be a single async operation. Add start helper to runtime to manage this (#165) 2024-07-01 11:53:45 -04:00
David Luong
80ecbf900c
[.Net] Support tools for AnthropicClient and AnthropicAgent (#2944)
* Squash commits : support anthropic tools

* Support tool_choice

* Remove reference from TypeSafeFunctionCallCodeSnippet.cs and add own function in test proj
2024-06-30 23:21:34 +00:00
Julia Kiseleva
e743d4d963
Update README.md (#3025)
adding links to blogposts to increase the clarity
2024-06-30 22:00:13 +00:00
Xiaoyun Zhang
b8a47a8d42
[.Net] fix #3014 by adding local model function call in dotnet website (#3044)
* add instruction in ollama-litellm function call example

* add tutorial

* fix tests
2024-06-30 18:43:22 +00:00
Eric Zhu
28f11c726d Add architecture overview (#164) 2024-06-30 08:38:11 -07:00