Ask a question to get started
Enter to sendā¢Shift+Enter new line
Whether to return logprobs.
When streaming, per-token logprobs are available on each intermediate chunk (via response_metadata["logprobs"]) and are accumulated into the final aggregated response when using invoke().
response_metadata["logprobs"]
invoke()
logprobs: bool | None = None