LogProb Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of LogProb.
public LogProb(string token, double logprob, System.Collections.Generic.IEnumerable<long> bytes, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.TopLogProb> topLogprobs);
new Azure.AI.AgentServer.Responses.Models.LogProb : string * double * seq<int64> * seq<Azure.AI.AgentServer.Responses.Models.TopLogProb> -> Azure.AI.AgentServer.Responses.Models.LogProb
Public Sub New (token As String, logprob As Double, bytes As IEnumerable(Of Long), topLogprobs As IEnumerable(Of TopLogProb))
Parameters
- token
- String
- logprob
- Double
- bytes
- IEnumerable<Int64>
- topLogprobs
- IEnumerable<TopLogProb>
Exceptions
token, bytes or topLogprobs is null.