Google Generative AI SDK
C#
Show/Hide TOC
Generation
Config
Logprobs Property
Optional. Only valid if
ResponseLogprobs
is True. This sets the number of top logprobs to return at each decoding step in the
LogprobsResult
.
Definition
Namespace:
GenerativeAI.Types
Assembly:
GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
Copy
public
int
?
Logprobs
{
get
;
set
; }
Property Value
Nullable
Int32
See Also
Reference
GenerationConfig Class
GenerativeAI.Types Namespace
In This Article
Definition
See Also