-
Notifications
You must be signed in to change notification settings - Fork 29
Copy OAIAssistant
dfinke edited this page Apr 20, 2024
·
2 revisions
Copies an OpenAI Assistant to create a new Assistant with optional name change.
Copy-OAIAssistant [[-AssistantId] <Object>] [[-NewName] <Object>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
The Copy-OAIAssistant function copies an OpenAI Assistant identified by AssistantId and creates a new Assistant with optional name change.
Copy-OAIAssistant -AssistantId "assistant-12345" -NewName "MyCopiedAssistant"
Copies the OpenAI Assistant with ID "assistant-12345" and creates a new Assistant with the name "MyCopiedAssistant".
Copy-OAIAssistant -AssistantId "assistant-67890"
Copies the OpenAI Assistant with ID "assistant-67890" and creates a new Assistant with the same name as the original Assistant.
Specifies the ID of the OpenAI Assistant to be copied.
Type: Object
Parameter Sets: (All)
Aliases: id
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseSpecifies the new name for the copied Assistant. If not provided, the copied Assistant will retain the same name as the original Assistant.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.