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
Copy file name to clipboardExpand all lines: docs/my-website/docs/completion/input.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,7 @@ def completion(
106
106
parallel_tool_calls: Optional[bool] =None,
107
107
logprobs: Optional[bool] =None,
108
108
top_logprobs: Optional[int] =None,
109
+
safety_identifier: Optional[str] =None,
109
110
deployment_id=None,
110
111
# soon to be deprecated params by OpenAI
111
112
functions: Optional[List] =None,
@@ -196,6 +197,8 @@ def completion(
196
197
197
198
-`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.
198
199
200
+
-`safety_identifier`: *string (optional)* - A unique identifier for tracking and managing safety-related requests. This parameter helps with safety monitoring and compliance tracking.
201
+
199
202
-`headers`: *dict (optional)* - A dictionary of headers to be sent with the request.
200
203
201
204
-`extra_headers`: *dict (optional)* - Alternative to `headers`, used to send extra headers in LLM API request.
0 commit comments