Module: OpenAI::Models::Chat::ChatCompletionCustomTool::Custom::Format::Grammar::Grammar::Syntax

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/chat/chat_completion_custom_tool.rb

Overview

The syntax of the grammar definition. One of ‘lark` or `regex`.

See Also:

Constant Summary collapse

LARK =
:lark
REGEX =
:regex

Method Summary

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info