File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/ai-foundry/foundry-local/includes/integrate-examples Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ cd hello-foundry-local
20
20
Install the following NuGet packages into your project folder:
21
21
22
22
``` bash
23
- dotnet add package Microsoft.AI.Foundry.Local --pre-release
23
+ dotnet add package Microsoft.AI.Foundry.Local --version 0.1.0
24
24
dotnet add package OpenAI --version 2.2.0-beta.4
25
25
```
26
26
@@ -39,7 +39,7 @@ using System.Diagnostics.Metrics;
39
39
40
40
var alias = " phi-3.5-mini" ;
41
41
42
- var manager = await FoundryManager .StartModelAsync (aliasOrModelId : alias );
42
+ var manager = await FoundryLocalManager .StartModelAsync (aliasOrModelId : alias );
43
43
44
44
var model = await manager .GetModelInfoAsync (aliasOrModelId : alias );
45
45
ApiKeyCredential key = new ApiKeyCredential (manager .ApiKey );
You can’t perform that action at this time.
0 commit comments