File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,11 @@ puts response2.content
246246
247247You 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
251255You 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
257261puts 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
You can’t perform that action at this time.
0 commit comments