Skip to content

Commit 3c2ee0b

Browse files
authored
add grammar and ebnf
1 parent f537b08 commit 3c2ee0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/together/types/chat_completions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class ResponseFormatType(str, Enum):
2929
JSON_OBJECT = "json_object"
3030
JSON_SCHEMA = "json_schema"
3131
REGEX = "regex"
32+
GRAMMAR = "grammar"
33+
EBNF = "ebnf"
3234

3335

3436
class FunctionCall(BaseModel):

0 commit comments

Comments
 (0)