deepgram-dotnet-sdk icon indicating copy to clipboard operation
deepgram-dotnet-sdk copied to clipboard

Can not add multiple arguments to function call

Open vaskevych opened this issue 7 months ago • 0 comments

In model Function https://github.com/deepgram/deepgram-dotnet-sdk/blob/main/Deepgram/Models/Agent/v2/WebSocket/Function.cs there is property Parameters.

Based on current implementation could be passed only one item with name 'item' that is really weird and there is no ability to pass multiple params new Function() { Description = t.Description, Name = t.Function, Parameters = new Parameters() { Type = "object", Properties = new Properties() { Item = new Item() { Description = "Set always true", Type = "boolean", } }, ParametersRequired = new List<string> {"item"} }, }

Don't have ability to pass different name.

Any ideas?

vaskevych avatar Mar 31 '25 16:03 vaskevych