LlmCodeBlock

Parsed code block from an LLM response

KEY TYPE Description
language str The language of the code block. Eg - python/sql/etc.
code str source code string
start int index of the starting character of the code block in the original response
end int index of the last character of the code block in the original response
valid bool flag denoting whether the soruce code string is syntactically valid