File tree 3 files changed +20
-1
lines changed
3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 21
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-46c4a5f130f6e345a9aea686def3f4b271fd4f0a5c32393e8187c9f8903383c4 .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-5d4722a755a01f8917b975ab7e6528e590f53d09891baac758abba1e28df15d1 .yml
Original file line number Diff line number Diff line change @@ -548,6 +548,11 @@ export namespace PromptConfiguration {
548
548
549
549
toolChoice : string | null ;
550
550
551
+ /**
552
+ * Example: 50
553
+ */
554
+ topK : number | null ;
555
+
551
556
/**
552
557
* Example: 1
553
558
*/
@@ -694,6 +699,11 @@ export namespace PromptCreateParams {
694
699
695
700
toolChoice : string | null ;
696
701
702
+ /**
703
+ * Example: 50
704
+ */
705
+ topK : number | null ;
706
+
697
707
/**
698
708
* Example: 1
699
709
*/
@@ -812,6 +822,11 @@ export namespace PromptUpdateParams {
812
822
813
823
toolChoice : string | null ;
814
824
825
+ /**
826
+ * Example: 50
827
+ */
828
+ topK : number | null ;
829
+
815
830
/**
816
831
* Example: 1
817
832
*/
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ describe('resource prompts', () => {
50
50
responseFormat : 'JSON' ,
51
51
temperature : 0 ,
52
52
topP : 0 ,
53
+ topK : 1 ,
53
54
frequencyPenalty : 0 ,
54
55
presencePenalty : 0 ,
55
56
maxTokens : 0 ,
@@ -110,6 +111,7 @@ describe('resource prompts', () => {
110
111
responseFormat : 'JSON' ,
111
112
temperature : 0 ,
112
113
topP : 0 ,
114
+ topK : 1 ,
113
115
frequencyPenalty : 0 ,
114
116
presencePenalty : 0 ,
115
117
maxTokens : 0 ,
@@ -163,6 +165,7 @@ describe('resource prompts', () => {
163
165
responseFormat : 'JSON' ,
164
166
temperature : 0 ,
165
167
topP : 0 ,
168
+ topK : 1 ,
166
169
frequencyPenalty : 0 ,
167
170
presencePenalty : 0 ,
168
171
maxTokens : 0 ,
@@ -223,6 +226,7 @@ describe('resource prompts', () => {
223
226
responseFormat : 'JSON' ,
224
227
temperature : 0 ,
225
228
topP : 0 ,
229
+ topK : 1 ,
226
230
frequencyPenalty : 0 ,
227
231
presencePenalty : 0 ,
228
232
maxTokens : 0 ,
You can’t perform that action at this time.
0 commit comments