Initial commit: Doctor-Patient clinical transcription and structured summary pipeline

This commit is contained in:
Ayush
2026-11-16 19:22:04 +05:30
commit f451738732
60 changed files with 11321 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
const fs = require('fs');
const dotenv = require('dotenv');
dotenv.config();
async function test() {
const ep = 'https://api.sarvam.ai/speech-to-text/job';
console.log("Testing POST empty JSON");
let res = await fetch(ep, {
method: 'POST',
headers: {
'api-subscription-key': process.env.SARVAM_API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({})
});
console.log(res.status);
console.log(await res.text());
}
test();