Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions outlines/models/dottxt.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ def format_input(self, model_input: str) -> str:
def format_output_type(self, output_type: Optional[Any] = None) -> str:
"""Format the output type to pass to the client.

TODO: `int`, `float` and other Python types could be supported via
JSON Schema.

Parameters
----------
output_type
Expand Down
3 changes: 0 additions & 3 deletions outlines/models/ollama.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ def format_output_type(
) -> Optional[dict]:
"""Format the output type to pass to the client.

TODO: `int`, `float` and other Python types could be supported via
JSON Schema.

Parameters
----------
output_type
Expand Down
3 changes: 0 additions & 3 deletions outlines/models/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ def format_output_type(self, output_type: Optional[Any] = None) -> dict:
"""Generate the `response_format` argument to the client based on the
output type specified by the user.

TODO: `int`, `float` and other Python types could be supported via
JSON Schema.

Parameters
----------
output_type
Expand Down
Loading