Skip to content

Commit

Permalink
Support json schema for structured outputs (#224)
Browse files Browse the repository at this point in the history
* support json schema for structured outputs

* bump version to 1.3.8

---------

Co-authored-by: orangetin <[email protected]>
  • Loading branch information
Nutlope and orangetin authored Dec 17, 2024
1 parent 6a3dc7e commit 759add7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "together"
version = "1.3.7"
version = "1.3.8"
authors = [
"Together AI <[email protected]>"
]
Expand Down
1 change: 1 addition & 0 deletions src/together/types/chat_completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class MessageRole(str, Enum):

class ResponseFormatType(str, Enum):
JSON_OBJECT = "json_object"
JSON_SCHEMA = "json_schema"


class FunctionCall(BaseModel):
Expand Down

0 comments on commit 759add7

Please sign in to comment.