3 Commits

Author SHA1 Message Date
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>
2024-08-18 16:14:51 +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
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>
2024-05-24 16:37:16 +00:00