ResponseLogProb Class
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.
A logprob is the logarithmic probability that the model assigns to producing a particular token at a given position in the sequence. Less-negative (higher) logprob values indicate greater model confidence in that token choice.
public class ResponseLogProb : System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.ResponseLogProb>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.ResponseLogProb>
type ResponseLogProb = class
interface IJsonModel<ResponseLogProb>
interface IPersistableModel<ResponseLogProb>
Public Class ResponseLogProb
Implements IJsonModel(Of ResponseLogProb), IPersistableModel(Of ResponseLogProb)
- Inheritance
-
ResponseLogProb
- Implements
Constructors
| Name | Description |
|---|---|
| ResponseLogProb(String, Double) |
Initializes a new instance of ResponseLogProb. |
Properties
| Name | Description |
|---|---|
| Logprob |
The log probability of this token. |
| Token |
A possible text token. |
| TopLogprobs |
The log probability of the top 20 most likely tokens. |