Merge pull request #1002 from MackinnonBuck/mbuck/update-meai-version
Update Microsoft.Extensions.AI version to 9.4.0-preview.1.25207.5
This commit is contained in:
commit
e50ce3bf34
|
|
@ -59,7 +59,7 @@
|
||||||
<PackageVersion Include="LLamaSharp" Version="0.21.0" />
|
<PackageVersion Include="LLamaSharp" Version="0.21.0" />
|
||||||
<PackageVersion Include="FaissMask" Version="0.4.2" />
|
<PackageVersion Include="FaissMask" Version="0.4.2" />
|
||||||
<PackageVersion Include="FastText.NetWrapper" Version="1.3.1" />
|
<PackageVersion Include="FastText.NetWrapper" Version="1.3.1" />
|
||||||
<PackageVersion Include="Microsoft.Extensions.AI.Abstractions" Version="9.3.0-preview.1.25161.3" />
|
<PackageVersion Include="Microsoft.Extensions.AI.Abstractions" Version="9.4.0-preview.1.25207.5" />
|
||||||
<PackageVersion Include="System.Text.Encodings.Web" Version="8.0.0" />
|
<PackageVersion Include="System.Text.Encodings.Web" Version="8.0.0" />
|
||||||
<PackageVersion Include="MongoDB.Driver" Version="3.1.0" />
|
<PackageVersion Include="MongoDB.Driver" Version="3.1.0" />
|
||||||
<PackageVersion Include="Docnet.Core" Version="2.7.0-alpha.1" />
|
<PackageVersion Include="Docnet.Core" Version="2.7.0-alpha.1" />
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ public sealed class MicrosoftExtensionsAIChatCompletionProvider : IChatCompletio
|
||||||
IServiceProvider services)
|
IServiceProvider services)
|
||||||
{
|
{
|
||||||
_client = client;
|
_client = client;
|
||||||
_model = _client.GetService<ChatClientMetadata>()?.ModelId;
|
_model = _client.GetService<ChatClientMetadata>()?.DefaultModelId;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
_services = services;
|
_services = services;
|
||||||
}
|
}
|
||||||
|
|
@ -180,7 +180,7 @@ public sealed class MicrosoftExtensionsAIChatCompletionProvider : IChatCompletio
|
||||||
|
|
||||||
public override JsonElement JsonSchema => schema;
|
public override JsonElement JsonSchema => schema;
|
||||||
|
|
||||||
protected override Task<object?> InvokeCoreAsync(IEnumerable<KeyValuePair<string, object?>> arguments, CancellationToken cancellationToken) =>
|
protected override ValueTask<object?> InvokeCoreAsync(AIFunctionArguments arguments, CancellationToken cancellationToken) =>
|
||||||
throw new NotSupportedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue