Skip to content

Latest commit

 

History

History
114 lines (96 loc) · 2.04 KB

Set-PowershaiChatTool.md

File metadata and controls

114 lines (96 loc) · 2.04 KB

external help file: powershai-help.xml schema: 2.0.0 powershai: true

Set-PowershaiChatTool

SYNOPSIS

Desabilita um tool (mas não remove). Tool desabiltiada não é enviada ao LLM.

SYNTAX

Enable

Set-PowershaiChatTool [-tool <Object>] [-Enable] [-ForceCommand] [-ChatId <Object>] [-Global] [<CommonParameters>]

Disable

Set-PowershaiChatTool [-tool <Object>] [-Disable] [-ForceCommand] [-ChatId <Object>] [-Global] [<CommonParameters>]

PARAMETERS

-tool

Nome da tool (mesmo de Add-PowershaiChatTool) ou via pipe o resultado de Get-PowershaiChatTool

Parameter Set: (All)
Type: Object
Aliases: 
Accepted Values: 
Required: false
Position: named
Default Value: 
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-Enable

habilita a tool.

Parameter Set: Enable
Type: SwitchParameter
Aliases: 
Accepted Values: 
Required: false
Position: named
Default Value: False
Accept pipeline input: false
Accept wildcard characters: false

-Disable

desabilita a tool.

Parameter Set: Disable
Type: SwitchParameter
Aliases: 
Accepted Values: 
Required: false
Position: named
Default Value: False
Accept pipeline input: false
Accept wildcard characters: false

-ForceCommand

Se informado, e tool é um nome, força o mesmo a ser tratado como script!

Parameter Set: (All)
Type: SwitchParameter
Aliases: 
Accepted Values: 
Required: false
Position: named
Default Value: False
Accept pipeline input: false
Accept wildcard characters: false

-ChatId

Chat em qual a tool está

Parameter Set: (All)
Type: Object
Aliases: 
Accepted Values: 
Required: false
Position: named
Default Value: .
Accept pipeline input: false
Accept wildcard characters: false

-Global

Procura a tool na lista global de Tools

Parameter Set: (All)
Type: SwitchParameter
Aliases: 
Accepted Values: 
Required: false
Position: named
Default Value: False
Accept pipeline input: false
Accept wildcard characters: false