View Source ExOpenAI.Components.ResponseFormatTextPython (ex_openai.ex v2.0.0-beta2)

Configure the model to generate valid Python code. See the custom grammars guide for more details.

Fields

  • :type - required - :python
    The type of response format being defined. Always python.
    Allowed values: "python"

Summary

Types

@type t() :: %ExOpenAI.Components.ResponseFormatTextPython{type: :python}