The result of a notebook code completion request
KEY | TYPE | Description |
---|---|---|
cellType | str | The type of the cell, either CODE or MARKDOWN |
content | str | The content of the cell |
mode | str | Either UPDATE or INSERT to dictate whether the completion will insert a new cell or update the last cell |
index | int | The index of the cell to insert after/ update |
prompts | list | The prompt(s) used to generate the completion |