forked from joofio/chat-with-epi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.yml
61 lines (61 loc) · 1.5 KB
/
openapi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
openapi: '3.0.2'
info:
title: Gravitate Health FOSPS - AI Service
version: '1.0'
servers:
- url: https://gravitate-health.lst.tfo.upm.es
description: "Development Server"
paths:
/ai/summary:
get:
tags:
- Lenses
description: 'Request for a summary of an ePI using LLM AI'
parameters:
- $ref: '#/components/parameters/epi'
- $ref: '#/components/parameters/preprocessors'
- $ref: '#/components/parameters/patientIdentifier'
- $ref: '#/components/parameters/lenses'
- $ref: '#/components/parameters/model'
responses:
'200':
description: OK
'500':
description: Internal Server Error
components:
parameters:
epi:
name: epi
in: path
description: 'ePI to summarize'
required: true
schema:
type: string
preprocessors:
name: preprocessors
in: query
description: 'Preprocessors to apply to the ePI'
required: true
schema:
type: string
patientIdentifier:
name: patientIdentifier
in: query
description: 'Patient identifier'
required: true
schema:
type: string
lenses:
name: lenses
in: query
description: 'Lenses to apply to the ePI (only lens-summary and lens-summary-2 are available)'
required: true
schema:
type: string
model:
name: model
in: query
description: 'Model to use for the summary'
required: true
schema:
type: string