5 Commits

Author SHA1 Message Date
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
7205ccc3b9
fix build and tests (#3134) 2024-07-15 19:20:22 +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
dd0024c01c
[.Net] add ReAct sample (#2977)
* add ReAct sample

* fix source geenrator test
2024-06-20 22:30:16 +00:00
Xiaoyun Zhang
e1afff20f6
[.Net] Fix #2687 by adding global:: keyword in generated code (#2689)
* add tests

* remove approved file

* update

* update approve file
2024-05-15 16:58:51 +00:00