Skip to content

Commit 3c4eb3f

Browse files
committed
Fixes code style.
1 parent 389ce57 commit 3c4eb3f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

specification/inference/_types/CommonTypes.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ export class CustomRequestParams {
807807
* > The content string needs to be a single line except using the Kibana console.
808808
*/
809809
content: string
810-
}
810+
}
811811

812812
export class CustomResponseParams {
813813
/**
@@ -822,7 +822,7 @@ export class CustomResponseParams {
822822
* ```
823823
*/
824824
error_parser: object
825-
/**
825+
/**
826826
* Specifies the JSON parser that is used to parse the response from the custom service.
827827
* Different task types require different json_parser parameters.
828828
* For example:
@@ -833,15 +833,15 @@ export class CustomResponseParams {
833833
* "text_embeddings":"$.result.embeddings[*].embedding"
834834
* }
835835
* }
836-
*
836+
*
837837
* # sparse_embedding
838838
* "response":{
839839
* "json_parser":{
840840
* "token_path":"$.result[*].embeddings[*].token",
841841
* "weight_path":"$.result[*].embeddings[*].weight"
842842
* }
843843
* }
844-
*
844+
*
845845
* # rerank
846846
* "response":{
847847
* "json_parser":{
@@ -850,7 +850,7 @@ export class CustomResponseParams {
850850
* "document_text":"xxx" // optional
851851
* }
852852
* }
853-
*
853+
*
854854
* # completion
855855
* "response":{
856856
* "json_parser":{

specification/inference/put_custom/PutCustomRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ export interface Request extends RequestBase {
7575
*/
7676
task_settings?: CustomTaskSettings
7777
}
78-
}
78+
}

specification/inference/put_custom/PutCustomResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ import { InferenceEndpointInfoCustom } from '@inference/_types/Services'
2222
export class Response {
2323
/** @codegen_name endpoint_info */
2424
body: InferenceEndpointInfoCustom
25-
}
25+
}

0 commit comments

Comments
 (0)