File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 11configured_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 {
548548
549549 toolChoice : string | null ;
550550
551+ /**
552+ * Example: 50
553+ */
554+ topK : number | null ;
555+
551556 /**
552557 * Example: 1
553558 */
@@ -694,6 +699,11 @@ export namespace PromptCreateParams {
694699
695700 toolChoice : string | null ;
696701
702+ /**
703+ * Example: 50
704+ */
705+ topK : number | null ;
706+
697707 /**
698708 * Example: 1
699709 */
@@ -812,6 +822,11 @@ export namespace PromptUpdateParams {
812822
813823 toolChoice : string | null ;
814824
825+ /**
826+ * Example: 50
827+ */
828+ topK : number | null ;
829+
815830 /**
816831 * Example: 1
817832 */
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ describe('resource prompts', () => {
5050 responseFormat : 'JSON' ,
5151 temperature : 0 ,
5252 topP : 0 ,
53+ topK : 1 ,
5354 frequencyPenalty : 0 ,
5455 presencePenalty : 0 ,
5556 maxTokens : 0 ,
@@ -110,6 +111,7 @@ describe('resource prompts', () => {
110111 responseFormat : 'JSON' ,
111112 temperature : 0 ,
112113 topP : 0 ,
114+ topK : 1 ,
113115 frequencyPenalty : 0 ,
114116 presencePenalty : 0 ,
115117 maxTokens : 0 ,
@@ -163,6 +165,7 @@ describe('resource prompts', () => {
163165 responseFormat : 'JSON' ,
164166 temperature : 0 ,
165167 topP : 0 ,
168+ topK : 1 ,
166169 frequencyPenalty : 0 ,
167170 presencePenalty : 0 ,
168171 maxTokens : 0 ,
@@ -223,6 +226,7 @@ describe('resource prompts', () => {
223226 responseFormat : 'JSON' ,
224227 temperature : 0 ,
225228 topP : 0 ,
229+ topK : 1 ,
226230 frequencyPenalty : 0 ,
227231 presencePenalty : 0 ,
228232 maxTokens : 0 ,
You can’t perform that action at this time.
0 commit comments