Skip to content

Commit d6678ce

Browse files
committed
Fix file name and style
1 parent ea16397 commit d6678ce

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

output/schema/schema.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/inference/put_openai/PutOpenAiRequest.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
* under the License.
1818
*/
1919

20-
import { InferenceChunkingSettings, RateLimitSetting } from '@inference/_types/Services'
20+
import {
21+
InferenceChunkingSettings,
22+
RateLimitSetting
23+
} from '@inference/_types/Services'
2124
import { RequestBase } from '@_types/Base'
2225
import { Id } from '@_types/common'
2326
import { integer } from '@_types/Numeric'
@@ -46,7 +49,6 @@ export interface Request extends RequestBase {
4649
}
4750
]
4851
path_parts: {
49-
5052
/**
5153
* The type of the inference task that the model will perform.
5254
* NOTE: The `chat_completion` task type only supports streaming and only through the _stream API.
@@ -140,4 +142,3 @@ export class OpenAITaskSettings {
140142
*/
141143
user?: string
142144
}
143-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ value: |-
1010
"model_id": "text-embedding-3-small",
1111
"dimensions": 128
1212
}
13-
}
13+
}

specification/inference/put_openai/examples/request/PutOpenAiRequestExample2.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ description: Run `PUT _inference/completion/openai-completion` to create an infe
33
# method_request: "PUT _inference/completion/openai-completion"
44
# type: "request"
55
value: |-
6-
{
7-
"service": "openai",
8-
"service_settings": {
9-
"api_key": "<api_key>",
10-
"model_id": "gpt-3.5-turbo"
11-
}
12-
}
6+
{
7+
"service": "openai",
8+
"service_settings": {
9+
"api_key": "OpenAI-API-Key",
10+
"model_id": "gpt-3.5-turbo"
11+
}
12+
}

0 commit comments

Comments
 (0)