Skip to content

Commit 9147c31

Browse files
committed
docs: enhance custom request parameters section with version info and additional guidance
1 parent 9aa7b7c commit 9147c31

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/guides/chat.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,11 @@ puts response2.content
246246

247247
You can set the temperature using `with_temperature`, which returns the `Chat` instance for chaining.
248248

249-
## Custom Request Parameters
249+
## Custom Request Parameters (`with_params`)
250+
{: .d-inline-block }
251+
252+
Available in v1.4.0
253+
{: .label .label-yellow }
250254

251255
You can configure additional provider-specific features by adding custom fields to each API request. Use the `with_params` method.
252256

@@ -257,7 +261,7 @@ response = chat.ask "What is the square root of 64? Answer with a JSON object wi
257261
puts JSON.parse(response.content)
258262
```
259263

260-
Allowed parameters vary widely by provider and model.
264+
Allowed parameters vary widely by provider and model. Please consult the provider's documentation.
261265

262266
## Tracking Token Usage
263267

0 commit comments

Comments
 (0)