import { axios } from "@pipedream/platform";
export default defineComponent({
props: {
palatine_speech: {
type: "app",
app: "palatine_speech",
}
},
async run({steps, $}) {
const data = "<your text to summarize here>";
return await axios($, {
method: "post",
url: `https://api.palatine.ru/api/v1/ai_service/summarize_text`,
headers: {
Authorization: `Bearer ${this.palatine_speech.$auth.api_key}`,
"content-type": `text/plain`,
},
params: {
task: `meeting_summary`,
},
data,
})
},
})
Downloads the transcription results in a specified file format (SRT, VTT, TXT, CSV, or XLSX). The task must be completed before downloading. See the documentation
Retrieves the status and results of a transcription task. Use this to poll for completion after starting a transcription job. See the documentation
Marks a transcription task as completed and removes it from the list of active tasks. Use this to clean up resources after retrieving results. See the documentation
Starts an asynchronous transcription job for an audio or video file. Optionally wait for completion by enabling the 'Wait for Completion' option. See the documentation
Palatine Speech uses API keys for authentication. When you connect your Palatine Speech account, Pipedream securely stores the keys so you can easily authenticate to Palatine Speech APIs in both code and no-code steps.