LogProb Constructors
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.
Overloads
| Name | Description |
|---|---|
| LogProb() |
Initializes a new instance of LogProb for deserialization. |
| LogProb(String, Single, IEnumerable<Int32>, IEnumerable<TopLogProb>) |
Initializes a new instance of LogProb. |
| LogProb(String, Single, IList<Int32>, IList<TopLogProb>, IDictionary<String,BinaryData>) |
Initializes a new instance of LogProb. |
LogProb()
- Source:
- LogProb.cs
Initializes a new instance of LogProb for deserialization.
public LogProb();
Public Sub New ()
Applies to
LogProb(String, Single, IEnumerable<Int32>, IEnumerable<TopLogProb>)
- Source:
- LogProb.cs
Initializes a new instance of LogProb.
public LogProb(string token, float logprob, System.Collections.Generic.IEnumerable<int> bytes, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Contracts.Generated.OpenAI.TopLogProb> topLogprobs);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.LogProb : string * single * seq<int> * seq<Azure.AI.AgentServer.Contracts.Generated.OpenAI.TopLogProb> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.LogProb
Public Sub New (token As String, logprob As Single, bytes As IEnumerable(Of Integer), topLogprobs As IEnumerable(Of TopLogProb))
Parameters
- token
- String
- logprob
- Single
- bytes
- IEnumerable<Int32>
- topLogprobs
- IEnumerable<TopLogProb>
Exceptions
token, bytes or topLogprobs is null.
Applies to
LogProb(String, Single, IList<Int32>, IList<TopLogProb>, IDictionary<String,BinaryData>)
- Source:
- LogProb.cs
Initializes a new instance of LogProb.
public LogProb(string token, float logprob, System.Collections.Generic.IList<int> bytes, System.Collections.Generic.IList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.TopLogProb> topLogprobs, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.LogProb : string * single * System.Collections.Generic.IList<int> * System.Collections.Generic.IList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.TopLogProb> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.LogProb
Public Sub New (token As String, logprob As Single, bytes As IList(Of Integer), topLogprobs As IList(Of TopLogProb), serializedAdditionalRawData As IDictionary(Of String, BinaryData))
Parameters
- token
- String
- logprob
- Single
- topLogprobs
- IList<TopLogProb>
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.