Create transcript
POST/transcribe-consultation
Creates a transcript from an audio. Note audio must be in 'audio/wav' format.
Request
- multipart/form-data
Body
required
audio_file binaryrequired
doctor_id Doctor Id (string)required
guess_report Guess Report (boolean)
Guess the most appropriate report template based on the audio file. Defaults to false.
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
]
- MOD1
Array [
- MOD1
]
transcriptobjectrequired
sentences
object[]required
text
objectrequired
The actual text in the sentence.
anyOf
string
guessesobjectrequired
anyOf
title Title (string)required
specialty MedicalSpecialty (string)required
Possible values: [ALLERGY, ANESTHESIOLOGY, CARDIOLOGY, DERMATOLOGY, ENDOCRINOLOGY, GASTROENTEROLOGY, GERIATRICS, GYNECOLOGY, HEMATOLOGY, INFECTIOUS_DISEASE, INTERNAL_MEDICINE, NEPHROLOGY, NEUROLOGY, OBSTETRICS, ONCOLOGY, OPHTHALMOLOGY, ORTHOPEDICS, OTOLARYNGOLOGY, PATHOLOGY, PEDIATRICS, PSYCHIATRY, PULMONOLOGY, RADIOLOGY, RHEUMATOLOGY, SURGERY, UROLOGY, SPORTS_MEDICINE, MAXILLOFACIAL, VASCULAR, EMERGENCY, NURSING, GENERAL]
facility_id
object
anyOf
integer
id Id (integer)required
{
"transcript": {
"sentences": [
{
"text": "string"
}
]
},
"guesses": [
null
]
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...