Skip to content

Get OAIAssistantItem

dfinke edited this page Apr 20, 2024 · 2 revisions

Get-OAIAssistantItem

SYNOPSIS

Retrieves an item from the OpenAI Assistant.

SYNTAX

Get-OAIAssistantItem [[-AssistantId] <Object>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The Get-OAIAssistantItem function retrieves an item from the OpenAI Assistant based on the specified AssistantId.

EXAMPLES

EXAMPLE 1

Get-OAIAssistantItem -AssistantId "12345678"

This example retrieves an item from the OpenAI Assistant with the ID "12345678".

PARAMETERS

-AssistantId

The ID of the OpenAI Assistant.

Type: Object
Parameter Sets: (All)
Aliases: assistant_id

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None.

OUTPUTS

System.Object.

NOTES

RELATED LINKS

https://platform.openai.com/docs/api-reference/assistants/getAssistant

Clone this wiki locally