You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.
@@ -5919,6 +5925,92 @@ components:
5919
5925
description: Controls the level of reasoning effort the model should apply when generating responses. Higher values may result in more thoughtful and detailed responses but may take longer to generate.
5920
5926
example: 'medium'
5921
5927
5928
+
ResponseFormatText:
5929
+
type: object
5930
+
title: Text
5931
+
description: |
5932
+
Default response format. Used to generate text responses.
5933
+
properties:
5934
+
type:
5935
+
type: string
5936
+
description: The type of response format being defined. Always `text`.
5937
+
enum:
5938
+
- text
5939
+
x-stainless-const: true
5940
+
required:
5941
+
- type
5942
+
ResponseFormatJsonObject:
5943
+
type: object
5944
+
title: JSON object
5945
+
description: |
5946
+
JSON object response format. An older method of generating JSON responses.
5947
+
Using `json_schema` is recommended for models that support it. Note that the
5948
+
model will not generate JSON without a system or user message instructing it
5949
+
to do so.
5950
+
properties:
5951
+
type:
5952
+
type: string
5953
+
description: The type of response format being defined. Always `json_object`.
5954
+
enum:
5955
+
- json_object
5956
+
x-stainless-const: true
5957
+
required:
5958
+
- type
5959
+
ResponseFormatJsonSchema:
5960
+
type: object
5961
+
title: JSON schema
5962
+
description: |
5963
+
JSON Schema response format. Used to generate structured JSON responses.
5964
+
Learn more about [Structured Outputs](https://docs.together.ai/docs/json-mode).
5965
+
properties:
5966
+
type:
5967
+
type: string
5968
+
description: The type of response format being defined. Always `json_schema`.
5969
+
enum:
5970
+
- json_schema
5971
+
x-stainless-const: true
5972
+
json_schema:
5973
+
type: object
5974
+
title: JSON schema
5975
+
description: |
5976
+
Structured Outputs configuration options, including a JSON Schema.
5977
+
properties:
5978
+
description:
5979
+
type: string
5980
+
description: |
5981
+
A description of what the response format is for, used by the model to
5982
+
determine how to respond in the format.
5983
+
name:
5984
+
type: string
5985
+
description: |
5986
+
The name of the response format. Must be a-z, A-Z, 0-9, or contain
5987
+
underscores and dashes, with a maximum length of 64.
0 commit comments