Skip to content

Commit 9b9b070

Browse files
committed
feat(specs): add transformation copilot to ingestion
1 parent 84773e7 commit 9b9b070

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

specs/ingestion/common/schemas/transformation.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,24 @@ TransformationTryResponse:
119119
type: string
120120
required:
121121
- payloads
122+
123+
Model:
124+
type: object
125+
additionalProperties: false
126+
properties:
127+
fullname:
128+
type: string
129+
modelName:
130+
type: string
131+
systemPrompt:
132+
type: string
133+
id:
134+
type: string
135+
provider:
136+
type: string
137+
required:
138+
- fullname
139+
- modelName
140+
- systemPrompt
141+
- id
142+
- provider
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
get:
2+
tags:
3+
- transformations
4+
summary: Retrieve existing LLM transformation helpers
5+
description: Retrieves a list of existing LLM transformation helpers.
6+
operationId: listCopilots
7+
x-acl:
8+
- addObject
9+
- deleteIndex
10+
- editSettings
11+
responses:
12+
'200':
13+
description: OK
14+
content:
15+
application/json:
16+
schema:
17+
title: listTransformationModels
18+
type: object
19+
description: List of available copilot LLM for transformation purposes.
20+
additionalProperties: false
21+
properties:
22+
llms:
23+
type: array
24+
items:
25+
$ref: '../../common/schemas/transformation.yml#/Model'
26+
required:
27+
- llms
28+
'400':
29+
$ref: '../../../common/responses/BadRequest.yml'

0 commit comments

Comments
 (0)