Skip to content

Commit 759add7

Browse files
Nutlopeorangetin
andauthored
Support json schema for structured outputs (#224)
* support json schema for structured outputs * bump version to 1.3.8 --------- Co-authored-by: orangetin <[email protected]>
1 parent 6a3dc7e commit 759add7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build-backend = "poetry.masonry.api"
1212

1313
[tool.poetry]
1414
name = "together"
15-
version = "1.3.7"
15+
version = "1.3.8"
1616
authors = [
1717
"Together AI <[email protected]>"
1818
]

src/together/types/chat_completions.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class MessageRole(str, Enum):
2727

2828
class ResponseFormatType(str, Enum):
2929
JSON_OBJECT = "json_object"
30+
JSON_SCHEMA = "json_schema"
3031

3132

3233
class FunctionCall(BaseModel):

0 commit comments

Comments
 (0)