SampleResponse
¶
Source code in docs_src/capo_sagemakertrainingsessionruntime/types/sample_response.py
prompt_logprobs
instance-attribute
¶
prompt_logprobs: NotRequired[DoubleList]
The per-token log-probabilities for the input prompt. Populated only when includePromptLogprobs is true.
topk_prompt_logprobs
instance-attribute
¶
topk_prompt_logprobs: NotRequired[TopkPromptLogprobsList]
The top-k log-probabilities per prompt token, as a list of lists. Populated only when topkPromptLogprobs is greater than 0.