LlmResponse

The response returned by LLM

KEY TYPE Description
content str Full response from LLM.
tokens int The number of tokens in the response.
stopReason str The reason due to which the response generation stopped.
llmName str The name of the LLM model used to generate the response.
inputTokens int The number of input tokens used in the LLM call.
outputTokens int The number of output tokens generated in the LLM response.
totalTokens int The total number of tokens (input + output) used in the LLM interaction.
codeBlocks LlmCodeBlock A list of parsed code blocks from raw LLM Response