import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.prompts.promptGetSupportedLlms();
console.log(result);
}
run();[
{
"display_name": "<string>",
"deprecated": true,
"provider": "azure_openai",
"model": "gpt-4o",
"version": "2024-05-13",
"api_version": "2024-06-01"
}
]Get supported LLM configs.
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.prompts.promptGetSupportedLlms();
console.log(result);
}
run();[
{
"display_name": "<string>",
"deprecated": true,
"provider": "azure_openai",
"model": "gpt-4o",
"version": "2024-05-13",
"api_version": "2024-06-01"
}
]Successful Response
Display name of the model. This is used for display purposes in the Console UI.
"GPT-4o"
Whether the LLM config is deprecated and should not be used.
false
Provider of the LLM model.
azure_openai, google, openai "azure_openai"
Name of the model. Must match the deployment name in Azure AI Studio.
"gpt-4o"
Model version.
"2024-05-13"
Version of the provider's API.
"2024-06-01"