179 Commits

Author SHA1 Message Date
Olaoluwa Ademola Salami
702462e0f1
adding a new page Function comparison between Python AutoGen and Auto… (#3367)
* adding a new page Function comparison between Python AutoGen and AutoGen\.Net

* add page to autogen website
2024-08-16 21:37:52 +00:00
Chaitanya Belwal
736d5e72bc
Updated Program.cs for Autogen.BasicSample to give a menu driven window making it easier to run variou Agent config. (#3346) 2024-08-13 17:04:04 +00:00
Xiaoyun Zhang
f49ed29b4e
[.Net][AutoGen.DotnetInteractive] add DotnetInteractiveStdioConnector (#3337)
* add DotnetInteractiveStdioCOnector

* update

* update

* comment out DotnetInteractive test

* add header

* update
2024-08-10 01:53:48 +00:00
Xiaoyun Zhang
4dab28c769
[.Net] Add AutoGen.AzureAIInference (#3332)
* add AutoGen.AzureAIInference

* add tests

* update readme

* fix format
2024-08-08 23:33:14 +00:00
Xiaoyun Zhang
5732b3e766
[.Net] add DotnetInteractiveKernelBuilder to AutoGen.DotnetInteractive (#3317)
* add DotnetInteractiveBuilder

* update

* fix workflow

* add pwsh test

* update

* add extract code extension

* update workflow
2024-08-08 17:49:58 +00:00
Kosta Petan
a1221d46d2 remove Dapr sample/implementation (#345)
Co-authored-by: Kosta Petan <Kosta.Petan@microsoft.com>
2024-08-08 14:17:41 +00:00
Xiaoyun Zhang
cf2fe4aa78
[.Net] Fix #3306 (#3310)
* break conversation when orchestartor return null

* enable test on different OS
2024-08-06 21:59:44 +00:00
Xiaoyun Zhang
a375d7ac38
[.Net] Remove Azure.AI.OpenAI from AutoGen.DotnetInteractive package (#3274)
* remove Azure.AI.OpenAI dependencies

* fix build error

* revert change
2024-08-02 16:35:07 +00:00
Xiaoyun Zhang
3186bb7610
only add the last message to chat history in SendAsync (#3272) 2024-08-02 16:35:00 +00:00
Andreas Volkmann
d8bf7ee8a8 Add code analysis (#305) 2024-08-02 05:58:53 +00:00
Xiaoyun Zhang
04be2ee930
bump version and add release note (#3246) 2024-07-29 18:32:26 +00:00
Xiaoyun Zhang
2cfaf73ad8
[.Net] add SendAsync api to iterate group chat step by step (#3214)
* add SendAsync api and tests

* update example to use new sendAsync API
2024-07-29 16:32:45 +00:00
Xiaoyun Zhang
155da15734
[.Net] fix #3203 (#3204)
* add net6 & net8

* update

* add tools and stop sequence
2024-07-25 16:15:55 +00:00
Reuben Bond
e7ac11b2e9 Initial distributed tracing implementation for .NET (#257) 2024-07-25 07:06:06 +00:00
Xiaoyun Zhang
fa88646301
[.Net] Add a constructor which takes ChatCompletionOptions for OpenAIChatAgent (#3170)
* accept ChatCompletionOptions in constrcutor

* fix comment
2024-07-23 16:59:05 +00:00
Xiaoyun Zhang
1daf852f86
rename Service -> WebAPI (#3177) 2024-07-22 16:44:12 +00:00
Xiaoyun Zhang
06e6b3ff05
[.Net] Allow passing a kernel to Interactive Service. (#3183)
* accept a running kernel for Interactive Service

* add kernel running check
2024-07-22 16:43:58 +00:00
Olaoluwa Ademola Salami
adf438abfa
add Use AutoGen.Net agent as model in AG Studio (#3182)
* add Use AutoGen.Net agent as model in AG Studio

* add git lfs

* test

* dotnet/nuget/icon.png,dotnet/resource/images/background.png,dotnet/resource/images/square.png,dotnet/test/AutoGen.Anthropic.Tests/images/square.png,dotnet/test/AutoGen.Ollama.Tests/images/image.png,dotnet/test/AutoGen.Ollama.Tests/images/square.png,dotnet/test/AutoGen.Tests/ApprovalTests/square.png,dotnet/website/images/articles/CreateAgentWithTools/single-turn-tool-call-with-auto-invoke.png,dotnet/website/images/articles/CreateAgentWithTools/single-turn-tool-call-without-auto-invoke.png,dotnet/website/images/articles/CreateUserProxyAgent/image-1.png,dotnet/website/images/articles/PrintMessageMiddleware/printMessage.png,dotnet/website/images/articles/UseAutoGenAsModelinAGStudio/FinalStepsA.png,dotnet/website/images/articles/UseAutoGenAsModelinAGStudio/FinalStepsB.png,dotnet/website/images/articles/UseAutoGenAsModelinAGStudio/FinalStepsC.png,dotnet/website/images/articles/UseAutoGenAsModelinAGStudio/Step5.2OpenAIModel.png,dotnet/website/images/articles/UseAutoGenAsModelinAGStudio/Step5.3ModelNameAndURL.png,dotnet/website/images/articles/UseAutoGenAsModelinAGStudio/Step6.png,dotnet/website/images/articles/UseAutoGenAsModelinAGStudio/Step6b.png,dotnet/website/images/articles/UseAutoGenAsModelinAGStudio/Terminal.png,dotnet/website/images/articles/UseAutoGenAsModelinAGStudio/TheModelTab.png,notebook/friendly_and_suspicous.jpg,notebook/nested-chats-chess.png,notebook/nested_chat_1.png,notebook/nested_chat_2.png,notebook/optiGuide_new_design.png,notebook/viz_gc.png,samples/apps/auto-anny/images/icon.png,samples/apps/autogen-studio/docs/ara_stockprices.png,samples/apps/autogen-studio/frontend/src/images/icon.png,test/test_files/test_image.png,website/blog/2023-04-21-LLM-tuning-math/img/level2algebra.png,website/blog/2023-04-21-LLM-tuning-math/img/level3algebra.png,website/blog/2023-04-21-LLM-tuning-math/img/level4algebra.png,website/blog/2023-04-21-LLM-tuning-math/img/level5algebra.png,website/blog/2023-05-18-GPT-adaptive-humaneval/img/design.png,website/blog/2023-05-18-GPT-adaptive-humaneval/img/humaneval.png,website/blog/2023-06-28-MathChat/img/mathchatflow.png,website/blog/2023-06-28-MathChat/img/result.png,website/blog/2023-10-18-RetrieveChat/img/retrievechat-arch.png,website/blog/2023-10-26-TeachableAgent/img/teachable-arch.png,website/blog/2023-11-06-LMM-Agent/img/teaser.png,website/blog/2023-11-09-EcoAssistant/img/chat.png,website/blog/2023-11-09-EcoAssistant/img/results.png,website/blog/2023-11-09-EcoAssistant/img/system.png,website/blog/2023-11-09-EcoAssistant/img/template-demo.png,website/blog/2023-11-09-EcoAssistant/img/template.png,website/blog/2023-11-13-OAI-assistants/img/teaser.jpg,website/blog/2023-11-20-AgentEval/img/agenteval-CQ.png,website/blog/2023-11-20-AgentEval/img/math-problems-plot.png,website/blog/2023-11-20-AgentEval/img/tasks-taxonomy.png,website/blog/2023-11-26-Agent-AutoBuild/img/agent_autobuild.png,website/blog/2023-12-01-AutoGenStudio/img/autogenstudio_config.png,website/blog/2023-12-01-AutoGenStudio/img/autogenstudio_home.png,website/blog/2023-12-01-AutoGenStudio/img/autogenstudio_skills.png,website/blog/2023-12-23-AgentOptimizer/img/agentoptimizer.png,website/blog/2024-01-25-AutoGenBench/img/teaser.jpg,website/blog/2024-02-02-AutoAnny/img/AutoAnnyLogo.jpg,website/blog/2024-02-11-FSM-GroupChat/img/FSM_logic.png,website/blog/2024-02-11-FSM-GroupChat/img/FSM_of_multi-agents.png,website/blog/2024-02-11-FSM-GroupChat/img/teaser.jpg,website/blog/2024-02-29-StateFlow/img/alfworld.png,website/blog/2024-02-29-StateFlow/img/bash_result.png,website/blog/2024-02-29-StateFlow/img/intercode.png,website/blog/2024-02-29-StateFlow/img/sf_example_1.png,website/blog/2024-03-03-AutoGen-Update/img/contributors.png,website/blog/2024-03-03-AutoGen-Update/img/dalle_gpt4v.png,website/blog/2024-03-03-AutoGen-Update/img/gaia.png,website/blog/2024-03-03-AutoGen-Update/img/love.png,website/blog/2024-03-03-AutoGen-Update/img/teach.png,website/blog/2024-03-11-AutoDefense/imgs/architecture.png,website/blog/2024-03-11-AutoDefense/imgs/defense-agency-design.png,website/blog/2024-03-11-AutoDefense/imgs/table-4agents.png,website/blog/2024-03-11-AutoDefense/imgs/table-agents.png,website/blog/2024-03-11-AutoDefense/imgs/table-compared-methods.png,website/blog/2024-05-24-Agent/img/agents.png,website/blog/2024-05-24-Agent/img/leadership.png,website/blog/2024-06-21-AgentEval/img/agenteval_ov_v3.png,website/blog/2024-06-24-AltModels-Classes/img/agentstogether.jpeg,website/docs/Use-Cases/images/agent_example.png,website/docs/Use-Cases/images/app.png,website/docs/Use-Cases/images/autogen_agents.png,website/docs/autogen-studio/img/agent_assistant.png,website/docs/autogen-studio/img/agent_groupchat.png,website/docs/autogen-studio/img/agent_new.png,website/docs/autogen-studio/img/agent_skillsmodel.png,website/docs/autogen-studio/img/ara_stockprices.png,website/docs/autogen-studio/img/model_new.png,website/docs/autogen-studio/img/model_openai.png,website/docs/autogen-studio/img/skill.png,website/docs/autogen-studio/img/workflow_chat.png,website/docs/autogen-studio/img/workflow_export.png,website/docs/autogen-studio/img/workflow_new.png,website/docs/autogen-studio/img/workflow_profile.png,website/docs/autogen-studio/img/workflow_sequential.png,website/docs/autogen-studio/img/workflow_test.png,website/docs/ecosystem/img/ecosystem-composio.png,website/docs/ecosystem/img/ecosystem-databricks.png,website/docs/ecosystem/img/ecosystem-fabric.png,website/docs/ecosystem/img/ecosystem-llamaindex.png,website/docs/ecosystem/img/ecosystem-memgpt.png,website/docs/ecosystem/img/ecosystem-ollama.png,website/docs/ecosystem/img/ecosystem-promptflow.png,website/docs/topics/non-openai-models/images/cloudlocalproxy.png,website/docs/tutorial/assets/code-execution-in-conversation.png,website/docs/tutorial/assets/code-executor-docker.png,website/docs/tutorial/assets/code-executor-no-docker.png,website/docs/tutorial/assets/conversable-agent.jpg,website/docs/tutorial/assets/group-chat.png,website/docs/tutorial/assets/human-in-the-loop.png,website/docs/tutorial/assets/nested-chats.png,website/docs/tutorial/assets/sequential-two-agent-chat.png,website/docs/tutorial/assets/two-agent-chat.png,website/static/img/autogen_agentchat.png,website/static/img/autogen_app.png,website/static/img/chat_example.png,website/static/img/create_gcp_svc.png,website/static/img/gallery/TensionCode.png,website/static/img/gallery/autotx.png,website/static/img/gallery/composio-autogen.png,website/static/img/gallery/default.png,website/static/img/gallery/robot.jpg,website/static/img/gallery/webagent.jpg,website/static/img/gallery/x-force-ide-ui.png: convert to Git LFS
2024-07-21 18:42:26 +00:00
Kosta Petan
c425a447a7 Marketing sample migration to AGNext (#234) 2024-07-19 20:57:13 +00:00
Xiaoyun Zhang
d073678154
add streaming tool call example (#3167) 2024-07-19 16:36:04 +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
Xiaoyun Zhang
5292b816ad
update (#3144) (#3145) 2024-07-15 23:13:31 +00: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
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
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
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
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
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
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
Xiaoyun Zhang
66e50618bd
[.Net] Fix #3045 (#3047)
* make IStreamingMessage obsolete

* update final reply message
2024-07-01 16:52:57 +00: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
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
Reuben Bond
ebed669231 Initial cross-language protocol for agents (#139)
* Initial prototype of .NET gRPC worker client + service

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-06-28 08:03:42 -07:00
Xiaoyun Zhang
57ec13c2eb
[.Net] add sample on how to make function call using lite llm and ollama Plus move ollama openai sample to AutoGen.OpenAI.Sample project (#3015)
* add sample

* Update Connect_To_Ollama.cs

* Update Connect_To_Ollama.cs
2024-06-26 15:33:28 +00:00
Jeffrey Su
08726421fc
#2708 add Add a judgment to the graph constructor (#2709)
* #2708 add Add a judgment to the graph constructor

* #2708 add Add a judgment to the graph constructor & added unit test

* #2708 #2079 move GraphTests to AutoGen.Tests; delete AutoGen.Core.Tests project
2024-06-25 23:09:08 +00:00
Xiaoyun Zhang
5e744f7fe4
improve Create agent with tools and add tuturial reference in index.md (#3024) 2024-06-25 21:40:52 +00:00
Xiaoyun Zhang
f438d980b0
fix #2975 (#3012) 2024-06-25 16:52:55 +00:00
Xiaoyun Zhang
203954e9c1
[.Net] Update website with Tutorial section (#2982)
* update

* Update -> Releaes Notes

* add ImageChat

* update

* update
2024-06-25 16:23:24 +00:00
Xiaoyun Zhang
dd0024c01c
[.Net] add ReAct sample (#2977)
* add ReAct sample

* fix source geenrator test
2024-06-20 22:30:16 +00:00
Xiaoyun Zhang
393f6fc76c
[.Net] fix #2859 (#2974)
* add getting start sample project

* update

* update

* revert change
2024-06-20 17:47:31 +00:00
Reuben Bond
fbb4a5a801 Code style cleanup 2024-06-19 19:25:07 -07:00
Reuben Bond
27d04bdff5 Add .editorconfig & use centralized package management 2024-06-19 16:53:37 -07:00
Reuben Bond
c5cec3afbd Merge project-oagents into agnext 2024-06-19 15:34:04 -07:00
Xiaoyun Zhang
55b2df8bf9
[.Net] update oai tests by using new OpenAI resources (#2939)
* update oai tests

* Update MetaInfo.props
2024-06-14 13:53:12 +00:00
Xiaoyun Zhang
cd8f437a71
update update.md (#2937) 2024-06-13 20:07:18 +00:00
Xiaoyun Zhang
ca4f717616
[.Net] Add Gemini samples to AutoGen.Net website + configure Gemini package to be ready for release (#2917)
* update website

* fix buid error

* update
2024-06-13 08:01:16 +00:00
David Luong
d578d0dfd9
Squash changes (#2849) 2024-06-10 17:32:33 +00:00