diff --git a/specs/ingestion/paths/transformations/transformationsModels.yml b/specs/ingestion/paths/transformations/transformationsModels.yml deleted file mode 100644 index 042f0c2487..0000000000 --- a/specs/ingestion/paths/transformations/transformationsModels.yml +++ /dev/null @@ -1,72 +0,0 @@ -get: - tags: - - transformations - summary: Retrieve existing LLM transformation helpers - description: Retrieves a list of existing LLM transformation helpers. - operationId: listTransformationModels - x-acl: - - addObject - - deleteIndex - - editSettings - responses: - '200': - description: OK - content: - application/json: - schema: - title: transformationModels - type: object - description: List of available AI models for transformation purposes. - additionalProperties: false - properties: - llms: - type: array - items: - $ref: '../../common/schemas/transformation.yml#/Model' - required: - - llms - '400': - $ref: '../../../common/responses/BadRequest.yml' - -post: - tags: - - transformations - summary: Generates code for the selected model based on the given prompt - description: Generates code for the selected model based on the given prompt. - operationId: generateTransformationCode - x-acl: - - addObject - - deleteIndex - - editSettings - requestBody: - content: - application/json: - schema: - title: generateTransformationCodePayload - type: object - additionalProperties: false - properties: - id: - type: string - systemPrompt: - type: string - userPrompt: - type: string - required: - - id - - userPrompt - required: true - responses: - '200': - description: OK - content: - application/json: - schema: - title: generateTransformationCodeResponse - type: object - additionalProperties: false - properties: - generatedCode: - type: string - '400': - $ref: '../../../common/responses/BadRequest.yml' diff --git a/specs/ingestion/spec.yml b/specs/ingestion/spec.yml index 461d3c0d96..7d31c26a17 100644 --- a/specs/ingestion/spec.yml +++ b/specs/ingestion/spec.yml @@ -175,8 +175,6 @@ paths: $ref: 'paths/transformations/transformationsTry.yml' /1/transformations/search: $ref: 'paths/transformations/transformationsSearch.yml' - /1/transformations/models: - $ref: 'paths/transformations/transformationsModels.yml' /1/transformations/{transformationID}: $ref: 'paths/transformations/transformationID.yml' /1/transformations/{transformationID}/try: diff --git a/tests/CTS/requests/ingestion/generateTransformationCode.json b/tests/CTS/requests/ingestion/generateTransformationCode.json deleted file mode 100644 index c290035b34..0000000000 --- a/tests/CTS/requests/ingestion/generateTransformationCode.json +++ /dev/null @@ -1,16 +0,0 @@ -[ - { - "parameters": { - "id": "foo", - "userPrompt": "fizzbuzz algorithm in fortran with a lot of comments that describe what EACH LINE of code is doing" - }, - "request": { - "path": "/1/transformations/models", - "method": "POST", - "body": { - "id": "foo", - "userPrompt": "fizzbuzz algorithm in fortran with a lot of comments that describe what EACH LINE of code is doing" - } - } - } -] diff --git a/tests/CTS/requests/ingestion/listTransformationModels.json b/tests/CTS/requests/ingestion/listTransformationModels.json deleted file mode 100644 index aa6d07b204..0000000000 --- a/tests/CTS/requests/ingestion/listTransformationModels.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - { - "parameters": {}, - "request": { - "path": "/1/transformations/models", - "method": "GET" - } - } -]