Xiaoyun Zhang
9ba14ee15b
Fix dotnet test and reformat dotnet code ( #3603 )
* fix test
* install aspire workload
* format
* fix build error
* fix format
* format
1 year ago
Xiaoyun Zhang
5c7498cc08
Dotnet package cleanup and reconciliation of dirs
1 year ago
Xiaoyun Zhang
18d52f606a
Merge dotnet conflict ( #3 )
1 year ago
Xiaoyun Zhang
a44b86f26e
stop setting name field when assistant message contains tool call ( #3481 )
1 year ago
Xiaoyun Zhang
084532e274
[.Net] add output schema to generateReplyOption ( #3450 )
* add output schema
* fix format
1 year ago
Xiaoyun Zhang
4193cea267
[.Net] Add AutoGen.OpenAI package that uses OpenAI v2 SDK ( #3402 )
* udpate
* add sample to connect to azure oai
* update comment
* ping to beta5
* add openai tests
* format code
* add structural output example
* update comment
* fix test
* resolve comments
* fix format issue
* update sk version
1 year ago
Xiaoyun Zhang
eb160d9d4a
[.Net] Rename AutoGen.OpenAI to AutoGen.OpenAI.V1 ( #3358 )
* fix build error
* rename AutoGen.OpenAI to AutoGen.OpenAI.V1
1 year ago
Xiaoyun Zhang
a638a08f81
[.Net] Dispose kernel after running dotnet interactive tests ( #3378 )
* dispose kernel after running test
* add timeout
1 year ago
David Luong
0a2b667f3c
[.NET] Add cache control to Anthropic Client ( #3372 )
* Add cache control to anthropic client and write unit test & exampel
* PR comments
* Fix import ordering for build
* Fix import orderings
---------
Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
1 year ago
Xiaoyun Zhang
f49ed29b4e
[.Net][AutoGen.DotnetInteractive] add DotnetInteractiveStdioConnector ( #3337 )
* add DotnetInteractiveStdioCOnector
* update
* update
* comment out DotnetInteractive test
* add header
* update
1 year ago
Xiaoyun Zhang
4dab28c769
[.Net] Add AutoGen.AzureAIInference ( #3332 )
* add AutoGen.AzureAIInference
* add tests
* update readme
* fix format
1 year ago
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
1 year ago
Xiaoyun Zhang
cf2fe4aa78
[.Net] Fix #3306 ( #3310 )
* break conversation when orchestartor return null
* enable test on different OS
1 year ago
Xiaoyun Zhang
a375d7ac38
[.Net] Remove Azure.AI.OpenAI from AutoGen.DotnetInteractive package ( #3274 )
* remove Azure.AI.OpenAI dependencies
* fix build error
* revert change
1 year ago
Xiaoyun Zhang
3186bb7610
only add the last message to chat history in SendAsync ( #3272 )
1 year ago
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
2 years ago
Xiaoyun Zhang
155da15734
[.Net] fix #3203 ( #3204 )
* add net6 & net8
* update
* add tools and stop sequence
2 years ago
Xiaoyun Zhang
fa88646301
[.Net] Add a constructor which takes ChatCompletionOptions for OpenAIChatAgent ( #3170 )
* accept ChatCompletionOptions in constrcutor
* fix comment
2 years ago
Xiaoyun Zhang
1daf852f86
rename Service -> WebAPI ( #3177 )
2 years ago
Xiaoyun Zhang
d073678154
add streaming tool call example ( #3167 )
2 years ago
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
2 years ago
Xiaoyun Zhang
7205ccc3b9
fix build and tests ( #3134 )
2 years ago
Xiaoyun Zhang
178bb8d325
add cancellation token to transition check lambda ( #3132 )
2 years ago
Xiaoyun Zhang
96146aa9b6
[.Net] update sk version from 1.10.0 to 1.15.1 ( #3131 )
* update sk version
* fix sk test error
2 years ago
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
2 years ago
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
2 years ago
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>
2 years ago
Xiaoyun Zhang
66e50618bd
[.Net] Fix #3045 ( #3047 )
* make IStreamingMessage obsolete
* update final reply message
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Xiaoyun Zhang
f438d980b0
fix #2975 ( #3012 )
2 years ago
Xiaoyun Zhang
dd0024c01c
[.Net] add ReAct sample ( #2977 )
* add ReAct sample
* fix source geenrator test
2 years ago
Xiaoyun Zhang
55b2df8bf9
[.Net] update oai tests by using new OpenAI resources ( #2939 )
* update oai tests
* Update MetaInfo.props
2 years ago
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
2 years ago
David Luong
d578d0dfd9
Squash changes ( #2849 )
2 years ago
Xiaoyun Zhang
a16b307dc0
[.Net] Add Goolge gemini ( #2868 )
* update
* add vertex gemini test
* remove DTO
* add test for vertexGeminiAgent
* update test name
* update IGeminiClient interface
* add test for streaming
* add message connector
* add gemini message extension
* add tests
* update
* add gemnini sample
* update examples
* add test for iamge
* fix test
* add more tests
* add streaming message test
* add comment
* remove unused json
* implement google gemini client
* update
* fix comment
2 years ago
Xiaoyun Zhang
84c7c2430c
[.Net] Add AOT compatible check for AutoGen.Core ( #2858 )
* add AutoGen.AotCompatibility test
* add aot test
* fix build error
* update ps1 path
2 years ago
David Luong
4fec246342
Introduce AnthropicClient and AnthropicClientAgent ( #2769 )
* Reference project
Revert "Set up the Agent. Basic Example set up, boilerplate for connector, ran into signing issue."
This reverts commit 0afe04f2
End to end working anthropic agent + unit tests
Set up the Agent. Basic Example set up, boilerplate for connector, ran into signing issue.
* Add pragma warning
* - Remove Message type
- tabbing fix white space in csproj
- Remove redundant inheritance
- Edit Anthropic.Tests' rootnamespace
- Create AutoGen.Anthropic.Samples
* short-cut agent extension method
* Pass system message in the constructor and throw if there's system message in Imessages
---------
Co-authored-by: luongdavid <luongdavid@microsoft.com>
2 years ago
Xiaoyun Zhang
702c010d77
[.Net] add ollama-sample and adds more tests ( #2776 )
* add ollama-sample and adds more tests
* Update AutoGen.Ollama.Sample.csproj
2 years ago
Xiaoyun Zhang
edb2f92b0d
[.Net] rename Autogen.Ollama to AutoGen.Ollama and add more test cases to AutoGen.Ollama ( #2772 )
* update test
* add llava test
* add more tests
* rm Autogen.Ollama
* add AutoGen.ollama
* update
* rename to temp
* remove ollama
* rename
* update
* rename
* rename
* update
2 years ago
Xiaoyun Zhang
90ca2ca64b
[.Net] Mark Message as obsolete and add ToolCallAggregateMessage type ( #2716 )
* make Message obsolete
* add ToolCallAggregateMessage
* update message.md
* address comment
* fix tests
* set round to 1 temporarily
* revert change
* fix test
* fix test
2 years ago
Xiaoyun Zhang
3e6f073373
[.Net] fix #2722 ( #2723 )
* fix bug and add tests
* update
2 years ago
Xiaoyun Zhang
cd44932347
[.Net] Set up Name field in OpenAIMessageConnector ( #2662 )
* create OpenAI tests project
* update
* update
* add tests
* add mroe tests:
* update comment
* Update dotnet/src/AutoGen.OpenAI/Middleware/OpenAIChatRequestMessageConnector.cs
Co-authored-by: David Luong <davidluong98@gmail.com>
* Update AutoGen.OpenAI.Tests.csproj
* fix build
---------
Co-authored-by: David Luong <davidluong98@gmail.com>
2 years ago
Xiaoyun Zhang
e1afff20f6
[.Net] Fix #2687 by adding global:: keyword in generated code ( #2689 )
* add tests
* remove approved file
* update
* update approve file
2 years ago
Israel de la Cruz
1c3ae92d39
[.Net] feature: Ollama integration ( #2693 )
* [.Net] feature: Ollama integration with
* [.Net] ollama agent improvements and reorganization
* added ollama fact logic
* [.Net] added ollama embeddings service
* [.Net] Ollama embeddings integration
* cleaned the agent and connector code
* [.Net] cleaned ollama agent tests
* [.Net] standardize api key fact ollama host variable
* [.Net] fixed solution issue
---------
Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
2 years ago
Xiaoyun Zhang
ba82c1d566
[.Net] Fix #2660 and add tests for AutoGen.DotnetInteractive ( #2676 )
* update
* fix 2660
* remove unnecessary feed
2 years ago
Xiaoyun Zhang
374270f9c7
[.Net] Add KernelPluginMiddleware in AutoGen.SemanticKernel ( #2595 )
* add kernel function middleware
* update
* fix format
* fix build error
2 years ago
David Luong
b529fe21a3
[.Net]: Introduce ChatCompletionAgent to AutoGen.SemanticKernel package ( #2584 )
* WIP add SKAgent to proj
* Fix Unit test
* Remove accidental coommit
* Add version props
* Revert Kludge test changes
* PR comments : executionSettings and use / upgrade SemanticKernelExperimentalVersion
* Add back deleted api and constructor, mark as Obsolete
* PR feedback : Introduce SemanticKernelChatCompletionAgent. Add unit tests and refactor semanticKernelChatMessageContentConnector to be SkSequentialChatMessageContentConnector.cs
* Revert SkSequentialChatMessageContentConnector
* PR comments, remove systemMessage in SemanticKernelChatCompletionAgent
* Fix formatting
* Fix bad merge
* Revert "Fix bad merge"
This reverts commit a189ad9f42 .
* Remove accidental commit
---------
Co-authored-by: luongdavid <luongdavid@microsoft.com>
2 years ago
Xiaoyun Zhang
5be103ab6b
[.Net] Add an example to show how to connect to third party OpenAI API endpoint + upgrade Azure.AI.OpenAI package ( #2619 )
* update
* update
* add blog
2 years ago