mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 22:53:06 -04:00
mono2: transcribe
This commit is contained in:
parent
b209c257ec
commit
fa50daa2e7
4 changed files with 18 additions and 15 deletions
|
@ -40,6 +40,13 @@ async function request(path, type, headers, args, host) {
|
|||
}
|
||||
|
||||
// monolith2
|
||||
module.exports.AudioTranscribe = async function(context, url){
|
||||
return await request(ObeliskApi.AUDIO_TRANSCRIBE, "POST", {}, {
|
||||
url,
|
||||
type: "VOICE_MESSAGE"
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.LlmPrivateBard = async function(context, prompt){
|
||||
return await request(ObeliskApi.LLM_PRIVATE_BARD, "POST", {}, {
|
||||
prompt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue