Class Logprobs
Whether to return log probabilities of the Output tokens or not.
If true, returns the log probabilities of each Output token returned in the content of message.
This option is currently not available on the gpt-4-vision-preview model.
Defaults to 0.
Assembly: Glitch9.AIDevKit.dll
Syntax
[Serializable]
[JsonConverter(typeof(NullableRangedIntConverter<Logprobs>))]
public class Logprobs : NullableRangedInt<Logprobs>, INullable, IEquatable<Logprobs>, IComparable<Logprobs>
Constructors
|
Edit this page
View Source
Logprobs()
Declaration
|
Edit this page
View Source
Logprobs(int)
Declaration
public Logprobs(int value)
Parameters
| Type |
Name |
Description |
| int |
value |
|
Properties
|
Edit this page
View Source
Default
Declaration
public override int Default { get; }
Property Value
Overrides
|
Edit this page
View Source
Max
Declaration
public override int Max { get; }
Property Value
Overrides
|
Edit this page
View Source
Min
Declaration
public override int Min { get; }
Property Value
Overrides
Operators
|
Edit this page
View Source
implicit operator int?(Logprobs)
Declaration
public static implicit operator int?(Logprobs p)
Parameters
Returns
|
Edit this page
View Source
implicit operator Logprobs(int)
Declaration
public static implicit operator Logprobs(int v)
Parameters
| Type |
Name |
Description |
| int |
v |
|
Returns
Implements
Extension Methods