Get-DifyModel¶
Warning
This help was primarily created by a generative AI. It may contain partially inaccurate expressions.
SYNOPSIS¶
Retrieve workspace model information.
SYNTAX¶
Get-DifyModel [[-Provider] <String[]>] [[-From] <String[]>] [[-Name] <String[]>] [[-Type] <String[]>] [-Active]
[-NoConfigure] [<CommonParameters>]
DESCRIPTION¶
The Get-DifyModel cmdlet retrieves information about models available in the workspace. You can filter the models by provider, type, name, and other criteria. It supports retrieving both predefined and customizable models. The cmdlet provides details about model providers, types, and their current status.
NOTE: This help was primarily created by a generative AI. It may contain partially inaccurate expressions.
EXAMPLES¶
Example 1¶
Get all models.
Example 2¶
Get models by provider.
Example 3¶
Get models by configuration type.
Example 4¶
Get models by name.
Example 5¶
Get models by model type.
Example 6¶
Combine filters to get models.
PARAMETERS¶
-Active¶
Filter models to retrieve only those with an "active" status.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-From¶
Specify the source type of the model. Valid values are "predefined" and "customizable".
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name¶
Filter models by their name.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NoConfigure¶
Filter models to retrieve only those with a "no-configure" status.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Provider¶
Filter models by provider.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Type¶
Filter models by their type. Valid values are "llm", "text-embedding", "speech2text", "moderation", "tts", and "rerank".
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.