import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.prompts.prompt_get_supported_llms()
# Handle response
print(res)[
{
"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 os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.prompts.prompt_get_supported_llms()
# Handle response
print(res)[
{
"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"