Literal["regex", "json", "type", "choice", "grammar"]
): The type of conversion to perform. Options are: - “regex”: Match the content against a regex pattern. - “pydantic”: Convert the content into a pydantic model. - “json”: Convert the content into a JSON based on a schema. - “type”: Convert the content into a specified type. - “choice”: Match the content against a list of valid choices. - “grammar”: Convert the content using a specified grammar.