Skip to content

Commit

Permalink
feat: add AWS params (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-apimgmt authored Oct 24, 2024
1 parent 8b4eda3 commit 9a23c2c
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion openapi.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
"version": "2.0.0",
"x-box-commit-hash": "e83bf201d8"
"x-box-commit-hash": "30e62e9e7d"
},
"servers": [
{
@@ -24505,6 +24505,9 @@
},
{
"$ref": "#/components/schemas/AiLlmEndpointParamsGoogle"
},
{
"$ref": "#/components/schemas/AiLlmEndpointParamsAWS"
}
]
}
@@ -24989,6 +24992,42 @@
"base"
]
},
"AiLlmEndpointParamsAWS": {
"description": "AI LLM endpoint params AWS object",
"type": "object",
"properties": {
"type": {
"description": "The type of the AI LLM endpoint params object for AWS.\nThis parameter is **required**.",
"type": "string",
"example": "aws_params",
"enum": [
"aws_params"
],
"nullable": false
},
"temperature": {
"description": "What sampling temperature to use, between 0 and 1. Higher values like 0.8 will make the output more random, \nwhile lower values like 0.2 will make it more focused and deterministic. \nWe generally recommend altering this or `top_p` but not both.",
"type": "number",
"example": 0.5,
"maximum": 1,
"minimum": 0,
"nullable": true
},
"top_p": {
"description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results \nof the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability \nmass are considered. We generally recommend altering this or temperature but not both.",
"type": "number",
"example": 0.5,
"maximum": 1,
"minimum": 0,
"nullable": true
}
},
"required": [
"type"
],
"title": "AI LLM endpoint params AWS",
"x-box-resource-id": "ai_llm_endpoint_params_aws"
},
"AiLlmEndpointParamsGoogle": {
"description": "AI LLM endpoint params Google object",
"type": "object",

0 comments on commit 9a23c2c

Please sign in to comment.