You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add tool calling and structured outputs to FL SDK v2 (#456)
* Add tool calling and structured outputs to FL C# SDK
* Fix JSON parsing and parameter order for unit tests
* Fix order of expected arguments
* Get FL C# SDK E2E samples via interop and web working
* Increase ORT GenAI version to 0.12.1
* Get FL JS SDK E2E samples via interop and web working
* Remove changes made for local testing purposes
* Add changes suggested during PR review
* Separate tool calling examples
* Remove unneeded param attribute
* Update FL Core versions
* Omit passing in FL Core version in C# YAML file for now
* Remove useNightly usage from JS build
* Remove nightly flag from npm install
* Put back useNightly usage in JS build
# need to use direct git commands to clone from Azure DevOps instead of actions/checkout
54
57
- name: Checkout test-data-shared from Azure DevOps
@@ -82,7 +85,8 @@ jobs:
82
85
83
86
- name: Run Foundry Local Core tests
84
87
run: |
85
-
dotnet test sdk_v2/cs/test/FoundryLocal.Tests/Microsoft.AI.Foundry.Local.Tests.csproj --verbosity normal /p:UseWinML=${{ inputs.useWinML }} /p:FoundryLocalCoreVersion="*-*"
88
+
# dotnet test sdk_v2/cs/test/FoundryLocal.Tests/Microsoft.AI.Foundry.Local.Tests.csproj --verbosity normal /p:UseWinML=${{ inputs.useWinML }} /p:FoundryLocalCoreVersion="*-*"
89
+
dotnet test sdk_v2/cs/test/FoundryLocal.Tests/Microsoft.AI.Foundry.Local.Tests.csproj --verbosity normal /p:UseWinML=${{ inputs.useWinML }}
Copy file name to clipboardExpand all lines: samples/cs/GettingStarted/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ Both the WinML and cross-platform packages provide the same APIs, so you can eas
16
16
-**FoundryLocalWebServer**: A simple console application that shows how to set up a local OpenAI-compliant web server using the Foundry Local SDK.
17
17
-**AudioTranscriptionExample**: A simple console application that demonstrates how to use the Foundry Local SDK for audio transcription tasks.
18
18
-**ModelManagementExample**: A simple console application that demonstrates how to manage models - such as variant selection and updates - using the Foundry Local SDK.
19
+
-**ToolCallingFoundryLocalSdk**: A simple console application that initializes the Foundry Local SDK, downloads a model, loads it and does tool calling with chat completions.
20
+
-**ToolCallingFoundryLocalWebServer**: A simple console application that shows how to set up a local OpenAI-compliant web server with tool calling using the Foundry Local SDK.
0 commit comments