openai 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +52 -16
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +52 -16
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.4.0
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAI API
|
|
5
5
|
* APIs for sampling from and fine-tuning language models
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,25 +32,25 @@ export interface CreateAnswerRequest {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateAnswerRequest
|
|
34
34
|
*/
|
|
35
|
-
'model'
|
|
35
|
+
'model': string;
|
|
36
36
|
/**
|
|
37
37
|
* Question to get answered.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateAnswerRequest
|
|
40
40
|
*/
|
|
41
|
-
'question'
|
|
41
|
+
'question': string;
|
|
42
42
|
/**
|
|
43
43
|
* List of (question, answer) pairs that will help steer the model towards the tone and answer format you\'d like. We recommend adding 2 to 3 examples.
|
|
44
44
|
* @type {Array<any>}
|
|
45
45
|
* @memberof CreateAnswerRequest
|
|
46
46
|
*/
|
|
47
|
-
'examples'
|
|
47
|
+
'examples': Array<any>;
|
|
48
48
|
/**
|
|
49
49
|
* A text snippet containing the contextual information used to generate the answers for the `examples` you provide.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CreateAnswerRequest
|
|
52
52
|
*/
|
|
53
|
-
'examples_context'
|
|
53
|
+
'examples_context': string;
|
|
54
54
|
/**
|
|
55
55
|
* List of documents from which the answer for the input `question` should be derived. If this is an empty list, the question will be answered based on the question-answer examples. You should specify either `documents` or a `file`, but not both.
|
|
56
56
|
* @type {Array<string>}
|
|
@@ -129,6 +129,12 @@ export interface CreateAnswerRequest {
|
|
|
129
129
|
* @memberof CreateAnswerRequest
|
|
130
130
|
*/
|
|
131
131
|
'expand'?: Array<any> | null;
|
|
132
|
+
/**
|
|
133
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof CreateAnswerRequest
|
|
136
|
+
*/
|
|
137
|
+
'user'?: string;
|
|
132
138
|
}
|
|
133
139
|
/**
|
|
134
140
|
*
|
|
@@ -203,13 +209,13 @@ export interface CreateClassificationRequest {
|
|
|
203
209
|
* @type {string}
|
|
204
210
|
* @memberof CreateClassificationRequest
|
|
205
211
|
*/
|
|
206
|
-
'model'
|
|
212
|
+
'model': string;
|
|
207
213
|
/**
|
|
208
214
|
* Query to be classified.
|
|
209
215
|
* @type {string}
|
|
210
216
|
* @memberof CreateClassificationRequest
|
|
211
217
|
*/
|
|
212
|
-
'query'
|
|
218
|
+
'query': string;
|
|
213
219
|
/**
|
|
214
220
|
* A list of examples with labels, in the following format: `[[\"The movie is so interesting.\", \"Positive\"], [\"It is quite boring.\", \"Negative\"], ...]` All the label strings will be normalized to be capitalized. You should specify either `examples` or `file`, but not both.
|
|
215
221
|
* @type {Array<any>}
|
|
@@ -276,6 +282,12 @@ export interface CreateClassificationRequest {
|
|
|
276
282
|
* @memberof CreateClassificationRequest
|
|
277
283
|
*/
|
|
278
284
|
'expand'?: Array<any> | null;
|
|
285
|
+
/**
|
|
286
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof CreateClassificationRequest
|
|
289
|
+
*/
|
|
290
|
+
'user'?: string;
|
|
279
291
|
}
|
|
280
292
|
/**
|
|
281
293
|
*
|
|
@@ -429,6 +441,12 @@ export interface CreateCompletionFromModelRequest {
|
|
|
429
441
|
* @memberof CreateCompletionFromModelRequest
|
|
430
442
|
*/
|
|
431
443
|
'logit_bias'?: object | null;
|
|
444
|
+
/**
|
|
445
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof CreateCompletionFromModelRequest
|
|
448
|
+
*/
|
|
449
|
+
'user'?: string;
|
|
432
450
|
/**
|
|
433
451
|
* ID of the model to use for completion.
|
|
434
452
|
* @type {string}
|
|
@@ -533,6 +551,12 @@ export interface CreateCompletionRequest {
|
|
|
533
551
|
* @memberof CreateCompletionRequest
|
|
534
552
|
*/
|
|
535
553
|
'logit_bias'?: object | null;
|
|
554
|
+
/**
|
|
555
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
556
|
+
* @type {string}
|
|
557
|
+
* @memberof CreateCompletionRequest
|
|
558
|
+
*/
|
|
559
|
+
'user'?: string;
|
|
536
560
|
}
|
|
537
561
|
/**
|
|
538
562
|
*
|
|
@@ -640,11 +664,17 @@ export interface CreateCompletionResponseLogprobs {
|
|
|
640
664
|
*/
|
|
641
665
|
export interface CreateEmbeddingRequest {
|
|
642
666
|
/**
|
|
643
|
-
* Input text to get embeddings for, encoded as a string or array of tokens. To get embeddings for multiple inputs in a single request, pass an array of strings or array of token arrays. Each input must not exceed 2048 tokens in length.
|
|
667
|
+
* Input text to get embeddings for, encoded as a string or array of tokens. To get embeddings for multiple inputs in a single request, pass an array of strings or array of token arrays. Each input must not exceed 2048 tokens in length. Unless your are embedding code, we suggest replacing newlines (`\\n`) in your input with a single space, as we have observed inferior results when newlines are present.
|
|
644
668
|
* @type {string | Array<string> | Array<number> | Array<any>}
|
|
645
669
|
* @memberof CreateEmbeddingRequest
|
|
646
670
|
*/
|
|
647
|
-
'input'
|
|
671
|
+
'input': string | Array<string> | Array<number> | Array<any>;
|
|
672
|
+
/**
|
|
673
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
674
|
+
* @type {string}
|
|
675
|
+
* @memberof CreateEmbeddingRequest
|
|
676
|
+
*/
|
|
677
|
+
'user'?: string;
|
|
648
678
|
}
|
|
649
679
|
/**
|
|
650
680
|
*
|
|
@@ -707,7 +737,7 @@ export interface CreateFineTuneRequest {
|
|
|
707
737
|
* @type {string}
|
|
708
738
|
* @memberof CreateFineTuneRequest
|
|
709
739
|
*/
|
|
710
|
-
'training_file'
|
|
740
|
+
'training_file': string;
|
|
711
741
|
/**
|
|
712
742
|
* The ID of an uploaded file that contains validation data. If you provide this file, the data is used to generate validation metrics periodically during fine-tuning. These metrics can be viewed in the [fine-tuning results file](/docs/guides/fine-tuning/analyzing-your-fine-tuned-model). Your train and validation data should be mutually exclusive. Your dataset must be formatted as a JSONL file, where each validation example is a JSON object with the keys \"prompt\" and \"completion\". Additionally, you must upload your file with the purpose `fine-tune`. See the [fine-tuning guide](/docs/guides/fine-tuning/creating-training-data) for more details.
|
|
713
743
|
* @type {string}
|
|
@@ -775,6 +805,12 @@ export interface CreateFineTuneRequest {
|
|
|
775
805
|
* @interface CreateSearchRequest
|
|
776
806
|
*/
|
|
777
807
|
export interface CreateSearchRequest {
|
|
808
|
+
/**
|
|
809
|
+
* Query to search against the documents.
|
|
810
|
+
* @type {string}
|
|
811
|
+
* @memberof CreateSearchRequest
|
|
812
|
+
*/
|
|
813
|
+
'query': string;
|
|
778
814
|
/**
|
|
779
815
|
* Up to 200 documents to search over, provided as a list of strings. The maximum document length (in tokens) is 2034 minus the number of tokens in the query. You should specify either `documents` or a `file`, but not both.
|
|
780
816
|
* @type {Array<string>}
|
|
@@ -787,12 +823,6 @@ export interface CreateSearchRequest {
|
|
|
787
823
|
* @memberof CreateSearchRequest
|
|
788
824
|
*/
|
|
789
825
|
'file'?: string | null;
|
|
790
|
-
/**
|
|
791
|
-
* Query to search against the documents.
|
|
792
|
-
* @type {string}
|
|
793
|
-
* @memberof CreateSearchRequest
|
|
794
|
-
*/
|
|
795
|
-
'query'?: string;
|
|
796
826
|
/**
|
|
797
827
|
* The maximum number of documents to be re-ranked and returned by search. This flag only takes effect when `file` is set.
|
|
798
828
|
* @type {number}
|
|
@@ -805,6 +835,12 @@ export interface CreateSearchRequest {
|
|
|
805
835
|
* @memberof CreateSearchRequest
|
|
806
836
|
*/
|
|
807
837
|
'return_metadata'?: boolean | null;
|
|
838
|
+
/**
|
|
839
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
840
|
+
* @type {string}
|
|
841
|
+
* @memberof CreateSearchRequest
|
|
842
|
+
*/
|
|
843
|
+
'user'?: string;
|
|
808
844
|
}
|
|
809
845
|
/**
|
|
810
846
|
*
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAI API
|
|
5
5
|
* APIs for sampling from and fine-tuning language models
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAI API
|
|
5
5
|
* APIs for sampling from and fine-tuning language models
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAI API
|
|
5
5
|
* APIs for sampling from and fine-tuning language models
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenAI API
|
|
3
3
|
* APIs for sampling from and fine-tuning language models
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,25 +23,25 @@ export interface CreateAnswerRequest {
|
|
|
23
23
|
* @type {string}
|
|
24
24
|
* @memberof CreateAnswerRequest
|
|
25
25
|
*/
|
|
26
|
-
'model'
|
|
26
|
+
'model': string;
|
|
27
27
|
/**
|
|
28
28
|
* Question to get answered.
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof CreateAnswerRequest
|
|
31
31
|
*/
|
|
32
|
-
'question'
|
|
32
|
+
'question': string;
|
|
33
33
|
/**
|
|
34
34
|
* List of (question, answer) pairs that will help steer the model towards the tone and answer format you\'d like. We recommend adding 2 to 3 examples.
|
|
35
35
|
* @type {Array<any>}
|
|
36
36
|
* @memberof CreateAnswerRequest
|
|
37
37
|
*/
|
|
38
|
-
'examples'
|
|
38
|
+
'examples': Array<any>;
|
|
39
39
|
/**
|
|
40
40
|
* A text snippet containing the contextual information used to generate the answers for the `examples` you provide.
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof CreateAnswerRequest
|
|
43
43
|
*/
|
|
44
|
-
'examples_context'
|
|
44
|
+
'examples_context': string;
|
|
45
45
|
/**
|
|
46
46
|
* List of documents from which the answer for the input `question` should be derived. If this is an empty list, the question will be answered based on the question-answer examples. You should specify either `documents` or a `file`, but not both.
|
|
47
47
|
* @type {Array<string>}
|
|
@@ -120,6 +120,12 @@ export interface CreateAnswerRequest {
|
|
|
120
120
|
* @memberof CreateAnswerRequest
|
|
121
121
|
*/
|
|
122
122
|
'expand'?: Array<any> | null;
|
|
123
|
+
/**
|
|
124
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof CreateAnswerRequest
|
|
127
|
+
*/
|
|
128
|
+
'user'?: string;
|
|
123
129
|
}
|
|
124
130
|
/**
|
|
125
131
|
*
|
|
@@ -194,13 +200,13 @@ export interface CreateClassificationRequest {
|
|
|
194
200
|
* @type {string}
|
|
195
201
|
* @memberof CreateClassificationRequest
|
|
196
202
|
*/
|
|
197
|
-
'model'
|
|
203
|
+
'model': string;
|
|
198
204
|
/**
|
|
199
205
|
* Query to be classified.
|
|
200
206
|
* @type {string}
|
|
201
207
|
* @memberof CreateClassificationRequest
|
|
202
208
|
*/
|
|
203
|
-
'query'
|
|
209
|
+
'query': string;
|
|
204
210
|
/**
|
|
205
211
|
* A list of examples with labels, in the following format: `[[\"The movie is so interesting.\", \"Positive\"], [\"It is quite boring.\", \"Negative\"], ...]` All the label strings will be normalized to be capitalized. You should specify either `examples` or `file`, but not both.
|
|
206
212
|
* @type {Array<any>}
|
|
@@ -267,6 +273,12 @@ export interface CreateClassificationRequest {
|
|
|
267
273
|
* @memberof CreateClassificationRequest
|
|
268
274
|
*/
|
|
269
275
|
'expand'?: Array<any> | null;
|
|
276
|
+
/**
|
|
277
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof CreateClassificationRequest
|
|
280
|
+
*/
|
|
281
|
+
'user'?: string;
|
|
270
282
|
}
|
|
271
283
|
/**
|
|
272
284
|
*
|
|
@@ -420,6 +432,12 @@ export interface CreateCompletionFromModelRequest {
|
|
|
420
432
|
* @memberof CreateCompletionFromModelRequest
|
|
421
433
|
*/
|
|
422
434
|
'logit_bias'?: object | null;
|
|
435
|
+
/**
|
|
436
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
437
|
+
* @type {string}
|
|
438
|
+
* @memberof CreateCompletionFromModelRequest
|
|
439
|
+
*/
|
|
440
|
+
'user'?: string;
|
|
423
441
|
/**
|
|
424
442
|
* ID of the model to use for completion.
|
|
425
443
|
* @type {string}
|
|
@@ -524,6 +542,12 @@ export interface CreateCompletionRequest {
|
|
|
524
542
|
* @memberof CreateCompletionRequest
|
|
525
543
|
*/
|
|
526
544
|
'logit_bias'?: object | null;
|
|
545
|
+
/**
|
|
546
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
547
|
+
* @type {string}
|
|
548
|
+
* @memberof CreateCompletionRequest
|
|
549
|
+
*/
|
|
550
|
+
'user'?: string;
|
|
527
551
|
}
|
|
528
552
|
/**
|
|
529
553
|
*
|
|
@@ -631,11 +655,17 @@ export interface CreateCompletionResponseLogprobs {
|
|
|
631
655
|
*/
|
|
632
656
|
export interface CreateEmbeddingRequest {
|
|
633
657
|
/**
|
|
634
|
-
* Input text to get embeddings for, encoded as a string or array of tokens. To get embeddings for multiple inputs in a single request, pass an array of strings or array of token arrays. Each input must not exceed 2048 tokens in length.
|
|
658
|
+
* Input text to get embeddings for, encoded as a string or array of tokens. To get embeddings for multiple inputs in a single request, pass an array of strings or array of token arrays. Each input must not exceed 2048 tokens in length. Unless your are embedding code, we suggest replacing newlines (`\\n`) in your input with a single space, as we have observed inferior results when newlines are present.
|
|
635
659
|
* @type {string | Array<string> | Array<number> | Array<any>}
|
|
636
660
|
* @memberof CreateEmbeddingRequest
|
|
637
661
|
*/
|
|
638
|
-
'input'
|
|
662
|
+
'input': string | Array<string> | Array<number> | Array<any>;
|
|
663
|
+
/**
|
|
664
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof CreateEmbeddingRequest
|
|
667
|
+
*/
|
|
668
|
+
'user'?: string;
|
|
639
669
|
}
|
|
640
670
|
/**
|
|
641
671
|
*
|
|
@@ -698,7 +728,7 @@ export interface CreateFineTuneRequest {
|
|
|
698
728
|
* @type {string}
|
|
699
729
|
* @memberof CreateFineTuneRequest
|
|
700
730
|
*/
|
|
701
|
-
'training_file'
|
|
731
|
+
'training_file': string;
|
|
702
732
|
/**
|
|
703
733
|
* The ID of an uploaded file that contains validation data. If you provide this file, the data is used to generate validation metrics periodically during fine-tuning. These metrics can be viewed in the [fine-tuning results file](/docs/guides/fine-tuning/analyzing-your-fine-tuned-model). Your train and validation data should be mutually exclusive. Your dataset must be formatted as a JSONL file, where each validation example is a JSON object with the keys \"prompt\" and \"completion\". Additionally, you must upload your file with the purpose `fine-tune`. See the [fine-tuning guide](/docs/guides/fine-tuning/creating-training-data) for more details.
|
|
704
734
|
* @type {string}
|
|
@@ -766,6 +796,12 @@ export interface CreateFineTuneRequest {
|
|
|
766
796
|
* @interface CreateSearchRequest
|
|
767
797
|
*/
|
|
768
798
|
export interface CreateSearchRequest {
|
|
799
|
+
/**
|
|
800
|
+
* Query to search against the documents.
|
|
801
|
+
* @type {string}
|
|
802
|
+
* @memberof CreateSearchRequest
|
|
803
|
+
*/
|
|
804
|
+
'query': string;
|
|
769
805
|
/**
|
|
770
806
|
* Up to 200 documents to search over, provided as a list of strings. The maximum document length (in tokens) is 2034 minus the number of tokens in the query. You should specify either `documents` or a `file`, but not both.
|
|
771
807
|
* @type {Array<string>}
|
|
@@ -778,12 +814,6 @@ export interface CreateSearchRequest {
|
|
|
778
814
|
* @memberof CreateSearchRequest
|
|
779
815
|
*/
|
|
780
816
|
'file'?: string | null;
|
|
781
|
-
/**
|
|
782
|
-
* Query to search against the documents.
|
|
783
|
-
* @type {string}
|
|
784
|
-
* @memberof CreateSearchRequest
|
|
785
|
-
*/
|
|
786
|
-
'query'?: string;
|
|
787
817
|
/**
|
|
788
818
|
* The maximum number of documents to be re-ranked and returned by search. This flag only takes effect when `file` is set.
|
|
789
819
|
* @type {number}
|
|
@@ -796,6 +826,12 @@ export interface CreateSearchRequest {
|
|
|
796
826
|
* @memberof CreateSearchRequest
|
|
797
827
|
*/
|
|
798
828
|
'return_metadata'?: boolean | null;
|
|
829
|
+
/**
|
|
830
|
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
|
|
831
|
+
* @type {string}
|
|
832
|
+
* @memberof CreateSearchRequest
|
|
833
|
+
*/
|
|
834
|
+
'user'?: string;
|
|
799
835
|
}
|
|
800
836
|
/**
|
|
801
837
|
*
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAI API
|
|
6
6
|
* APIs for sampling from and fine-tuning language models
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenAI API
|
|
3
3
|
* APIs for sampling from and fine-tuning language models
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAI API
|
|
6
6
|
* APIs for sampling from and fine-tuning language models
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenAI API
|
|
3
3
|
* APIs for sampling from and fine-tuning language models
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAI API
|
|
6
6
|
* APIs for sampling from and fine-tuning language models
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenAI API
|
|
3
3
|
* APIs for sampling from and fine-tuning language models
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAI API
|
|
6
6
|
* APIs for sampling from and fine-tuning language models
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OpenAI API
|
|
3
3
|
* APIs for sampling from and fine-tuning language models
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAI API
|
|
6
6
|
* APIs for sampling from and fine-tuning language models
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAI API
|
|
5
5
|
* APIs for sampling from and fine-tuning language models
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openai",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Node.js library for the OpenAI API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openai",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build": "tsc --outDir dist/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"axios": "^0.
|
|
24
|
+
"axios": "^0.26.0",
|
|
25
25
|
"form-data": "^4.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|