|
3 | 3 | * |
4 | 4 | * WARN: Do not edit directly. |
5 | 5 | * |
6 | | - * Generated on 2023-03-29T03:51:28.816Z |
| 6 | + * Generated on 2023-03-29T04:57:23.895Z |
7 | 7 | * |
8 | 8 | */ |
9 | 9 | export type DeleteModelResponse = { |
@@ -76,9 +76,9 @@ export type CreateCompletionRequest = { |
76 | 76 | * @example 1 |
77 | 77 | */ |
78 | 78 | n?: number | null; |
79 | | - stream?: boolean | null; |
| 79 | + stream?: boolean | null | undefined; |
80 | 80 | logprobs?: number | null; |
81 | | - echo?: boolean | null; |
| 81 | + echo?: boolean | null | undefined; |
82 | 82 | stop?: string | null | undefined | string[] | null | undefined; |
83 | 83 | presence_penalty?: number | null; |
84 | 84 | frequency_penalty?: number | null; |
@@ -407,7 +407,7 @@ export type CreateSearchRequest = { |
407 | 407 | * @default 200 |
408 | 408 | */ |
409 | 409 | max_rerank?: number | null; |
410 | | - return_metadata?: boolean | null; |
| 410 | + return_metadata?: boolean | null | undefined; |
411 | 411 | /** |
412 | 412 | * A unique identifier representing your end-user, which can help OpenAI to |
413 | 413 | * monitor and detect abuse. [Learn |
@@ -491,8 +491,8 @@ export type CreateAnswerRequest = { |
491 | 491 | */ |
492 | 492 | n?: number | null; |
493 | 493 | logit_bias?: {} | undefined; |
494 | | - return_metadata?: boolean | null; |
495 | | - return_prompt?: boolean | null; |
| 494 | + return_metadata?: boolean | null | undefined; |
| 495 | + return_prompt?: boolean | null | undefined; |
496 | 496 | /** |
497 | 497 | * If an object name is in the list, we provide the full information of the |
498 | 498 | * object; otherwise, we only provide the object ID. Currently we support |
@@ -563,8 +563,8 @@ export type CreateClassificationRequest = { |
563 | 563 | */ |
564 | 564 | max_examples?: number | null; |
565 | 565 | logit_bias?: {} | undefined; |
566 | | - return_prompt?: boolean | null; |
567 | | - return_metadata?: boolean | null; |
| 566 | + return_prompt?: boolean | null | undefined; |
| 567 | + return_metadata?: boolean | null | undefined; |
568 | 568 | /** |
569 | 569 | * If an object name is in the list, we provide the full information of the |
570 | 570 | * object; otherwise, we only provide the object ID. Currently we support |
@@ -655,7 +655,7 @@ export type CreateFineTuneRequest = { |
655 | 655 | * @default 0.01 |
656 | 656 | */ |
657 | 657 | prompt_loss_weight?: number | null; |
658 | | - compute_classification_metrics?: boolean | null; |
| 658 | + compute_classification_metrics?: boolean | null | undefined; |
659 | 659 | classification_n_classes?: number | null; |
660 | 660 | classification_positive_class?: string | null | undefined; |
661 | 661 | /** |
@@ -800,7 +800,7 @@ export type CreateChatCompletionRequest = { |
800 | 800 | * @example 1 |
801 | 801 | */ |
802 | 802 | n?: number | null; |
803 | | - stream?: boolean | null; |
| 803 | + stream?: boolean | null | undefined; |
804 | 804 | stop?: string | null | undefined | string[] | null | undefined; |
805 | 805 | /** |
806 | 806 | * The maximum number of tokens allowed for the generated answer. By default, |
|
0 commit comments