Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add AWS params #478

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 40 additions & 1 deletion openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -24505,6 +24505,9 @@
},
{
"$ref": "#/components/schemas/AiLlmEndpointParamsGoogle"
},
{
"$ref": "#/components/schemas/AiLlmEndpointParamsAWS"
}
]
}
Expand Down Expand Up @@ -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",
Expand Down
Loading