@@ -93,8 +93,8 @@ def chat(
9393 the model to respond to. The array must contain at least one message.
9494
9595 model: The [ID of the model](https://dev.writer.com/home/models) to use for creating
96- the chat completion. Supports `palmyra-x-004 `, `palmyra-fin `, `palmyra-med `,
97- `palmyra-creative`, and `palmyra-x-003-instruct`.
96+ the chat completion. Supports `palmyra-x5 `, `palmyra-x4 `, `palmyra-fin `,
97+ `palmyra-med`, `palmyra- creative`, and `palmyra-x-003-instruct`.
9898
9999 logprobs: Specifies whether to return log probabilities of the output tokens.
100100
@@ -106,8 +106,8 @@ def chat(
106106 single request. This parameter allows for generating multiple responses,
107107 offering a variety of potential replies from which to choose.
108108
109- response_format: The response format to use for the chat completion, available with
110- `palmyra-x-004 `.
109+ response_format: The response format to use for the chat completion, available with `palmyra-x4`
110+ and `palmyra-x5 `.
111111
112112 `text` is the default response format. [JSON Schema](https://json-schema.org/)
113113 is supported for structured responses. If you specify `json_schema`, you must
@@ -133,11 +133,11 @@ def chat(
133133
134134 tools: An array containing tool definitions for tools that the model can use to
135135 generate responses. The tool definitions use JSON schema. You can define your
136- own functions or use one of the built-in `graph`, `llm`, or `vision` tools. Note
137- that you can only use one built-in tool type in the array (only one of `graph`,
138- ` llm`, or `vision`). You can pass multiple custom
139- tools](https://dev.writer.com/api-guides/tool-calling) of type `function` in the
140- same request.
136+ own functions or use one of the built-in `graph`, `llm`, `translation`, or
137+ `vision` tools. Note that you can only use one built-in tool type in the array
138+ (only one of `graph`, ` llm`, `translation`, or `vision`). You can pass multiple
139+ [custom tools](https://dev.writer.com/api-guides/tool-calling) of type
140+ `function` in the same request.
141141
142142 top_p: Sets the threshold for "nucleus sampling," a technique to focus the model's
143143 token generation on the most likely subset of tokens. Only tokens with
@@ -189,8 +189,8 @@ def chat(
189189 the model to respond to. The array must contain at least one message.
190190
191191 model: The [ID of the model](https://dev.writer.com/home/models) to use for creating
192- the chat completion. Supports `palmyra-x-004 `, `palmyra-fin `, `palmyra-med `,
193- `palmyra-creative`, and `palmyra-x-003-instruct`.
192+ the chat completion. Supports `palmyra-x5 `, `palmyra-x4 `, `palmyra-fin `,
193+ `palmyra-med`, `palmyra- creative`, and `palmyra-x-003-instruct`.
194194
195195 stream: Indicates whether the response should be streamed incrementally as it is
196196 generated or only returned once fully complete. Streaming can be useful for
@@ -206,8 +206,8 @@ def chat(
206206 single request. This parameter allows for generating multiple responses,
207207 offering a variety of potential replies from which to choose.
208208
209- response_format: The response format to use for the chat completion, available with
210- `palmyra-x-004 `.
209+ response_format: The response format to use for the chat completion, available with `palmyra-x4`
210+ and `palmyra-x5 `.
211211
212212 `text` is the default response format. [JSON Schema](https://json-schema.org/)
213213 is supported for structured responses. If you specify `json_schema`, you must
@@ -229,11 +229,11 @@ def chat(
229229
230230 tools: An array containing tool definitions for tools that the model can use to
231231 generate responses. The tool definitions use JSON schema. You can define your
232- own functions or use one of the built-in `graph`, `llm`, or `vision` tools. Note
233- that you can only use one built-in tool type in the array (only one of `graph`,
234- ` llm`, or `vision`). You can pass multiple custom
235- tools](https://dev.writer.com/api-guides/tool-calling) of type `function` in the
236- same request.
232+ own functions or use one of the built-in `graph`, `llm`, `translation`, or
233+ `vision` tools. Note that you can only use one built-in tool type in the array
234+ (only one of `graph`, ` llm`, `translation`, or `vision`). You can pass multiple
235+ [custom tools](https://dev.writer.com/api-guides/tool-calling) of type
236+ `function` in the same request.
237237
238238 top_p: Sets the threshold for "nucleus sampling," a technique to focus the model's
239239 token generation on the most likely subset of tokens. Only tokens with
@@ -285,8 +285,8 @@ def chat(
285285 the model to respond to. The array must contain at least one message.
286286
287287 model: The [ID of the model](https://dev.writer.com/home/models) to use for creating
288- the chat completion. Supports `palmyra-x-004 `, `palmyra-fin `, `palmyra-med `,
289- `palmyra-creative`, and `palmyra-x-003-instruct`.
288+ the chat completion. Supports `palmyra-x5 `, `palmyra-x4 `, `palmyra-fin `,
289+ `palmyra-med`, `palmyra- creative`, and `palmyra-x-003-instruct`.
290290
291291 stream: Indicates whether the response should be streamed incrementally as it is
292292 generated or only returned once fully complete. Streaming can be useful for
@@ -302,8 +302,8 @@ def chat(
302302 single request. This parameter allows for generating multiple responses,
303303 offering a variety of potential replies from which to choose.
304304
305- response_format: The response format to use for the chat completion, available with
306- `palmyra-x-004 `.
305+ response_format: The response format to use for the chat completion, available with `palmyra-x4`
306+ and `palmyra-x5 `.
307307
308308 `text` is the default response format. [JSON Schema](https://json-schema.org/)
309309 is supported for structured responses. If you specify `json_schema`, you must
@@ -325,11 +325,11 @@ def chat(
325325
326326 tools: An array containing tool definitions for tools that the model can use to
327327 generate responses. The tool definitions use JSON schema. You can define your
328- own functions or use one of the built-in `graph`, `llm`, or `vision` tools. Note
329- that you can only use one built-in tool type in the array (only one of `graph`,
330- ` llm`, or `vision`). You can pass multiple custom
331- tools](https://dev.writer.com/api-guides/tool-calling) of type `function` in the
332- same request.
328+ own functions or use one of the built-in `graph`, `llm`, `translation`, or
329+ `vision` tools. Note that you can only use one built-in tool type in the array
330+ (only one of `graph`, ` llm`, `translation`, or `vision`). You can pass multiple
331+ [custom tools](https://dev.writer.com/api-guides/tool-calling) of type
332+ `function` in the same request.
333333
334334 top_p: Sets the threshold for "nucleus sampling," a technique to focus the model's
335335 token generation on the most likely subset of tokens. Only tokens with
@@ -634,8 +634,8 @@ async def chat(
634634 the model to respond to. The array must contain at least one message.
635635
636636 model: The [ID of the model](https://dev.writer.com/home/models) to use for creating
637- the chat completion. Supports `palmyra-x-004 `, `palmyra-fin `, `palmyra-med `,
638- `palmyra-creative`, and `palmyra-x-003-instruct`.
637+ the chat completion. Supports `palmyra-x5 `, `palmyra-x4 `, `palmyra-fin `,
638+ `palmyra-med`, `palmyra- creative`, and `palmyra-x-003-instruct`.
639639
640640 logprobs: Specifies whether to return log probabilities of the output tokens.
641641
@@ -647,8 +647,8 @@ async def chat(
647647 single request. This parameter allows for generating multiple responses,
648648 offering a variety of potential replies from which to choose.
649649
650- response_format: The response format to use for the chat completion, available with
651- `palmyra-x-004 `.
650+ response_format: The response format to use for the chat completion, available with `palmyra-x4`
651+ and `palmyra-x5 `.
652652
653653 `text` is the default response format. [JSON Schema](https://json-schema.org/)
654654 is supported for structured responses. If you specify `json_schema`, you must
@@ -674,11 +674,11 @@ async def chat(
674674
675675 tools: An array containing tool definitions for tools that the model can use to
676676 generate responses. The tool definitions use JSON schema. You can define your
677- own functions or use one of the built-in `graph`, `llm`, or `vision` tools. Note
678- that you can only use one built-in tool type in the array (only one of `graph`,
679- ` llm`, or `vision`). You can pass multiple custom
680- tools](https://dev.writer.com/api-guides/tool-calling) of type `function` in the
681- same request.
677+ own functions or use one of the built-in `graph`, `llm`, `translation`, or
678+ `vision` tools. Note that you can only use one built-in tool type in the array
679+ (only one of `graph`, ` llm`, `translation`, or `vision`). You can pass multiple
680+ [custom tools](https://dev.writer.com/api-guides/tool-calling) of type
681+ `function` in the same request.
682682
683683 top_p: Sets the threshold for "nucleus sampling," a technique to focus the model's
684684 token generation on the most likely subset of tokens. Only tokens with
@@ -730,8 +730,8 @@ async def chat(
730730 the model to respond to. The array must contain at least one message.
731731
732732 model: The [ID of the model](https://dev.writer.com/home/models) to use for creating
733- the chat completion. Supports `palmyra-x-004 `, `palmyra-fin `, `palmyra-med `,
734- `palmyra-creative`, and `palmyra-x-003-instruct`.
733+ the chat completion. Supports `palmyra-x5 `, `palmyra-x4 `, `palmyra-fin `,
734+ `palmyra-med`, `palmyra- creative`, and `palmyra-x-003-instruct`.
735735
736736 stream: Indicates whether the response should be streamed incrementally as it is
737737 generated or only returned once fully complete. Streaming can be useful for
@@ -747,8 +747,8 @@ async def chat(
747747 single request. This parameter allows for generating multiple responses,
748748 offering a variety of potential replies from which to choose.
749749
750- response_format: The response format to use for the chat completion, available with
751- `palmyra-x-004 `.
750+ response_format: The response format to use for the chat completion, available with `palmyra-x4`
751+ and `palmyra-x5 `.
752752
753753 `text` is the default response format. [JSON Schema](https://json-schema.org/)
754754 is supported for structured responses. If you specify `json_schema`, you must
@@ -770,11 +770,11 @@ async def chat(
770770
771771 tools: An array containing tool definitions for tools that the model can use to
772772 generate responses. The tool definitions use JSON schema. You can define your
773- own functions or use one of the built-in `graph`, `llm`, or `vision` tools. Note
774- that you can only use one built-in tool type in the array (only one of `graph`,
775- ` llm`, or `vision`). You can pass multiple custom
776- tools](https://dev.writer.com/api-guides/tool-calling) of type `function` in the
777- same request.
773+ own functions or use one of the built-in `graph`, `llm`, `translation`, or
774+ `vision` tools. Note that you can only use one built-in tool type in the array
775+ (only one of `graph`, ` llm`, `translation`, or `vision`). You can pass multiple
776+ [custom tools](https://dev.writer.com/api-guides/tool-calling) of type
777+ `function` in the same request.
778778
779779 top_p: Sets the threshold for "nucleus sampling," a technique to focus the model's
780780 token generation on the most likely subset of tokens. Only tokens with
@@ -826,8 +826,8 @@ async def chat(
826826 the model to respond to. The array must contain at least one message.
827827
828828 model: The [ID of the model](https://dev.writer.com/home/models) to use for creating
829- the chat completion. Supports `palmyra-x-004 `, `palmyra-fin `, `palmyra-med `,
830- `palmyra-creative`, and `palmyra-x-003-instruct`.
829+ the chat completion. Supports `palmyra-x5 `, `palmyra-x4 `, `palmyra-fin `,
830+ `palmyra-med`, `palmyra- creative`, and `palmyra-x-003-instruct`.
831831
832832 stream: Indicates whether the response should be streamed incrementally as it is
833833 generated or only returned once fully complete. Streaming can be useful for
@@ -843,8 +843,8 @@ async def chat(
843843 single request. This parameter allows for generating multiple responses,
844844 offering a variety of potential replies from which to choose.
845845
846- response_format: The response format to use for the chat completion, available with
847- `palmyra-x-004 `.
846+ response_format: The response format to use for the chat completion, available with `palmyra-x4`
847+ and `palmyra-x5 `.
848848
849849 `text` is the default response format. [JSON Schema](https://json-schema.org/)
850850 is supported for structured responses. If you specify `json_schema`, you must
@@ -866,11 +866,11 @@ async def chat(
866866
867867 tools: An array containing tool definitions for tools that the model can use to
868868 generate responses. The tool definitions use JSON schema. You can define your
869- own functions or use one of the built-in `graph`, `llm`, or `vision` tools. Note
870- that you can only use one built-in tool type in the array (only one of `graph`,
871- ` llm`, or `vision`). You can pass multiple custom
872- tools](https://dev.writer.com/api-guides/tool-calling) of type `function` in the
873- same request.
869+ own functions or use one of the built-in `graph`, `llm`, `translation`, or
870+ `vision` tools. Note that you can only use one built-in tool type in the array
871+ (only one of `graph`, ` llm`, `translation`, or `vision`). You can pass multiple
872+ [custom tools](https://dev.writer.com/api-guides/tool-calling) of type
873+ `function` in the same request.
874874
875875 top_p: Sets the threshold for "nucleus sampling," a technique to focus the model's
876876 token generation on the most likely subset of tokens. Only tokens with
0 commit comments