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)
[
{
"provider": "azure_openai",
"model": "gpt-4o",
"display_name": "GPT-4o",
"version": "2024-05-13",
"api_version": "2024-06-01",
"deprecated": false
}
]
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)
[
{
"provider": "azure_openai",
"model": "gpt-4o",
"display_name": "GPT-4o",
"version": "2024-05-13",
"api_version": "2024-06-01",
"deprecated": false
}
]
Successful Response
The response is of type SupportedLlm · object[]
.