diff --git a/output/schema/schema.json b/output/schema/schema.json index d2080777f8..eb5af47653 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -170006,7 +170006,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1210-L1232" + "specLocation": "inference/_types/CommonTypes.ts#L1198-L1220" }, { "kind": "enum", @@ -170019,7 +170019,7 @@ "name": "DeepSeekServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1234-L1236" + "specLocation": "inference/_types/CommonTypes.ts#L1222-L1224" }, { "kind": "interface", @@ -170160,7 +170160,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1259-L1293" + "specLocation": "inference/_types/CommonTypes.ts#L1226-L1260" }, { "kind": "enum", @@ -170173,7 +170173,7 @@ "name": "ElasticsearchServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1309-L1311" + "specLocation": "inference/_types/CommonTypes.ts#L1276-L1278" }, { "kind": "interface", @@ -170196,7 +170196,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1295-L1301" + "specLocation": "inference/_types/CommonTypes.ts#L1262-L1268" }, { "kind": "enum", @@ -170215,7 +170215,7 @@ "name": "ElasticsearchTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1303-L1307" + "specLocation": "inference/_types/CommonTypes.ts#L1270-L1274" }, { "kind": "interface", @@ -170261,7 +170261,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1313-L1339" + "specLocation": "inference/_types/CommonTypes.ts#L1280-L1306" }, { "kind": "enum", @@ -170274,7 +170274,7 @@ "name": "ElserServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1345-L1347" + "specLocation": "inference/_types/CommonTypes.ts#L1312-L1314" }, { "kind": "enum", @@ -170287,7 +170287,7 @@ "name": "ElserTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1341-L1343" + "specLocation": "inference/_types/CommonTypes.ts#L1308-L1310" }, { "kind": "enum", @@ -170300,7 +170300,7 @@ "name": "GoogleAiServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1372-L1374" + "specLocation": "inference/_types/CommonTypes.ts#L1339-L1341" }, { "kind": "interface", @@ -170348,7 +170348,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1349-L1365" + "specLocation": "inference/_types/CommonTypes.ts#L1316-L1332" }, { "kind": "enum", @@ -170364,7 +170364,7 @@ "name": "GoogleAiStudioTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1367-L1370" + "specLocation": "inference/_types/CommonTypes.ts#L1334-L1337" }, { "kind": "interface", @@ -170438,7 +170438,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1376-L1402" + "specLocation": "inference/_types/CommonTypes.ts#L1343-L1369" }, { "kind": "enum", @@ -170451,7 +170451,7 @@ "name": "GoogleVertexAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1422-L1424" + "specLocation": "inference/_types/CommonTypes.ts#L1389-L1391" }, { "kind": "interface", @@ -170485,7 +170485,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1404-L1413" + "specLocation": "inference/_types/CommonTypes.ts#L1371-L1380" }, { "kind": "enum", @@ -170507,7 +170507,7 @@ "name": "GoogleVertexAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1415-L1420" + "specLocation": "inference/_types/CommonTypes.ts#L1382-L1387" }, { "kind": "interface", @@ -170569,7 +170569,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1426-L1458" + "specLocation": "inference/_types/CommonTypes.ts#L1393-L1425" }, { "kind": "enum", @@ -170582,7 +170582,7 @@ "name": "HuggingFaceServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1479-L1481" + "specLocation": "inference/_types/CommonTypes.ts#L1446-L1448" }, { "kind": "interface", @@ -170616,7 +170616,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1460-L1470" + "specLocation": "inference/_types/CommonTypes.ts#L1427-L1437" }, { "kind": "enum", @@ -170638,7 +170638,7 @@ "name": "HuggingFaceTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1472-L1477" + "specLocation": "inference/_types/CommonTypes.ts#L1439-L1444" }, { "kind": "interface", @@ -171830,7 +171830,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1483-L1512" + "specLocation": "inference/_types/CommonTypes.ts#L1450-L1479" }, { "kind": "enum", @@ -171843,7 +171843,7 @@ "name": "JinaAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1542-L1544" + "specLocation": "inference/_types/CommonTypes.ts#L1509-L1511" }, { "kind": "enum", @@ -171862,7 +171862,7 @@ "name": "JinaAISimilarityType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1546-L1550" + "specLocation": "inference/_types/CommonTypes.ts#L1513-L1517" }, { "kind": "interface", @@ -171908,7 +171908,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1514-L1535" + "specLocation": "inference/_types/CommonTypes.ts#L1481-L1502" }, { "kind": "enum", @@ -171924,7 +171924,7 @@ "name": "JinaAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1537-L1540" + "specLocation": "inference/_types/CommonTypes.ts#L1504-L1507" }, { "kind": "enum", @@ -171946,7 +171946,7 @@ "name": "JinaAITextEmbeddingTask", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1552-L1557" + "specLocation": "inference/_types/CommonTypes.ts#L1519-L1524" }, { "kind": "interface", @@ -172018,7 +172018,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1559-L1589" + "specLocation": "inference/_types/CommonTypes.ts#L1526-L1556" }, { "kind": "enum", @@ -172031,7 +172031,7 @@ "name": "LlamaServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1597-L1599" + "specLocation": "inference/_types/CommonTypes.ts#L1564-L1566" }, { "kind": "enum", @@ -172050,7 +172050,7 @@ "name": "LlamaSimilarityType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1601-L1605" + "specLocation": "inference/_types/CommonTypes.ts#L1568-L1572" }, { "kind": "enum", @@ -172069,7 +172069,7 @@ "name": "LlamaTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1591-L1595" + "specLocation": "inference/_types/CommonTypes.ts#L1558-L1562" }, { "kind": "interface", @@ -172227,7 +172227,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1607-L1634" + "specLocation": "inference/_types/CommonTypes.ts#L1574-L1601" }, { "kind": "enum", @@ -172240,7 +172240,7 @@ "name": "MistralServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1642-L1644" + "specLocation": "inference/_types/CommonTypes.ts#L1609-L1611" }, { "kind": "enum", @@ -172259,7 +172259,7 @@ "name": "MistralTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1636-L1640" + "specLocation": "inference/_types/CommonTypes.ts#L1603-L1607" }, { "kind": "interface", @@ -172346,7 +172346,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1646-L1688" + "specLocation": "inference/_types/CommonTypes.ts#L1613-L1655" }, { "kind": "enum", @@ -172359,7 +172359,7 @@ "name": "OpenAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1704-L1706" + "specLocation": "inference/_types/CommonTypes.ts#L1671-L1673" }, { "kind": "interface", @@ -172381,7 +172381,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1690-L1696" + "specLocation": "inference/_types/CommonTypes.ts#L1657-L1663" }, { "kind": "enum", @@ -172400,7 +172400,7 @@ "name": "OpenAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1698-L1702" + "specLocation": "inference/_types/CommonTypes.ts#L1665-L1669" }, { "kind": "interface", @@ -173351,7 +173351,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1708-L1739" + "specLocation": "inference/_types/CommonTypes.ts#L1675-L1706" }, { "kind": "enum", @@ -173364,7 +173364,7 @@ "name": "VoyageAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1772-L1774" + "specLocation": "inference/_types/CommonTypes.ts#L1739-L1741" }, { "kind": "interface", @@ -173424,7 +173424,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1741-L1765" + "specLocation": "inference/_types/CommonTypes.ts#L1708-L1732" }, { "kind": "enum", @@ -173440,7 +173440,7 @@ "name": "VoyageAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1767-L1770" + "specLocation": "inference/_types/CommonTypes.ts#L1734-L1737" }, { "kind": "interface", @@ -173528,7 +173528,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1776-L1814" + "specLocation": "inference/_types/CommonTypes.ts#L1743-L1781" }, { "kind": "enum", @@ -173541,7 +173541,7 @@ "name": "WatsonxServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1822-L1824" + "specLocation": "inference/_types/CommonTypes.ts#L1789-L1791" }, { "kind": "enum", @@ -173560,7 +173560,7 @@ "name": "WatsonxTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1816-L1820" + "specLocation": "inference/_types/CommonTypes.ts#L1783-L1787" }, { "kind": "request", diff --git a/specification/inference/_types/CommonTypes.ts b/specification/inference/_types/CommonTypes.ts index e960e06353..bd1e6e8006 100644 --- a/specification/inference/_types/CommonTypes.ts +++ b/specification/inference/_types/CommonTypes.ts @@ -1195,18 +1195,6 @@ export class CustomTaskSettings { parameters?: UserDefinedValue } -export class EisServiceSettings { - /** - * The name of the model to use for the inference task. - */ - model_id: string - /** - * This setting helps to minimize the number of rate limit errors returned. - * By default, the `elastic` service sets the number of requests allowed per minute to `240` in case of `chat_completion`. - */ - rate_limit?: RateLimitSetting -} - export class DeepSeekServiceSettings { /** * A valid API key for your DeepSeek account. @@ -1235,27 +1223,6 @@ export enum DeepSeekServiceType { deepseek } -export enum EisTaskType { - chat_completion, - rerank -} - -export enum EisServiceType { - elastic -} - -export class EisTaskSettings { - /** - * For a `rerank` task, return doc text within the results. - */ - return_documents?: boolean - - /** - * For a `rerank` task, the number of the top N documents that should be returned. - */ - top_n?: integer -} - export class ElasticsearchServiceSettings { /** * Adaptive allocations configuration details.