import { openAsBlob } from "node:fs";
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.pronunciations.pronunciationsUploadCsv({
file: await openAsBlob("example.file"),
});
console.log(result);
}
run();{
"revision": 123,
"hash": "<string>",
"entries": 123,
"uploaded_by": "<string>",
"uploaded_at": "2023-11-07T05:31:56Z"
}import { openAsBlob } from "node:fs";
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.pronunciations.pronunciationsUploadCsv({
file: await openAsBlob("example.file"),
});
console.log(result);
}
run();{
"revision": 123,
"hash": "<string>",
"entries": 123,
"uploaded_by": "<string>",
"uploaded_at": "2023-11-07T05:31:56Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.syllable.ai/llms.txt
Use this file to discover all available pages before exploring further.
CSV file containing pronunciation overrides