-
Notifications
You must be signed in to change notification settings - Fork 29
Update OAIAssistant
Updates an OpenAI Assistant.
Update-OAIAssistant [[-Id] <Object>] [[-Model] <Object>] [[-Name] <Object>] [[-Description] <Object>]
[[-Instructions] <Object>] [[-Tools] <Object>] [[-FileIds] <Object>] [[-Metadata] <Object>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
This function updates an OpenAI Assistant with the specified parameters.
Update-OAIAssistant -Id "assistant123" -Model "gpt-3.5-turbo" -Name "My Assistant" -Description "This is my assistant" -Instructions "Use this assistant to perform various tasks" -Tools "PowerShell", "Visual Studio Code" -FileIds "file1", "file2" -Metadata @{ "key1" = "value1"; "key2" = "value2" }
The ID of the OpenAI Assistant to update.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe model to use for the OpenAI Assistant.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the OpenAI Assistant.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe description of the OpenAI Assistant.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe instructions for using the OpenAI Assistant.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe tools required for using the OpenAI Assistant.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe IDs of the files associated with the OpenAI Assistant.
Type: Object
Parameter Sets: (All)
Aliases: file_ids
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe metadata for the OpenAI Assistant.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
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.
https://platform.openai.com/docs/api-reference/assistants/modifyAssistant