aiProfile
Describe one profile. Never returns an API key.
Describe one profile. Never returns an API key.
Syntax
aiProfile( name = "" )Parameters
Parameter
Type
Required
Default
Description
name
string
No
""
The profile name. Empty is the default profile
Returns
A struct with name, description, provider, model, params, options, apiKeyEnv, hasApiKey and isDefault. Throws ProfileNotFound if the profile does not exist.
Examples
fast = aiProfile( "fast" )
println( fast.provider )
println( fast.hasApiKey )See Profiles.
Last updated