docs(input.md): document 'extra_headers' param support (#7268)

* docs(input.md): document 'extra_headers' param support

* fix: #7239 to move Nova topK parameter to `additionalModelRequestFields` (#7240)

Co-authored-by: Ryan Hoium <rhoium>

---------

Co-authored-by: ryanh-ai <3118399+ryanh-ai@users.noreply.github.com>
This commit is contained in:
Krish Dholakia
2024-12-17 07:19:14 -08:00
committed by GitHub
co-authored by ryanh-ai
parent f3b13a9af3
commit cd5bdfcb7a
3 changed files with 25 additions and 1 deletions
+4
View File
@@ -191,6 +191,10 @@ def completion(
- `top_logprobs`: *int (optional)* - An integer between 0 and 5 specifying the number of most likely tokens to return at each token position, each with an associated log probability. `logprobs` must be set to true if this parameter is used.
- `headers`: *dict (optional)* - A dictionary of headers to be sent with the request.
- `extra_headers`: *dict (optional)* - Alternative to `headers`, used to send extra headers in LLM API request.
#### Deprecated Params
- `functions`: *array* - A list of functions that the model may use to generate JSON inputs. Each function should have the following properties: