@azure/ai-projects package
Classes
AIProjectsClient |
The Azure AI Projects client |
ToolSet |
Represents a set of tools with their definitions and resources. |
ToolUtility |
Utility class for creating various tools. |
Interfaces
AIProjectsClientOptions |
The options for the AIProjectsClient |
AgentDeletionStatusOutput |
The status of an agent deletion operation. |
AgentEventMessage |
Each event in a server-sent events stream has an Example
|
AgentEventMessageStream |
Represents a stream of agent event message. |
AgentOutput |
Represents an agent that can call the model and use tools. |
AgentThreadCreationOptions |
The details used to create a new agent thread. |
AgentThreadOutput |
Information about a single thread associated with an agent. |
AgentsApiResponseFormat |
An object describing the expected output of the model. If |
AgentsApiResponseFormatOutput |
An object describing the expected output of the model. If |
AgentsNamedToolChoice |
Specifies a tool the model should use. Use to force the model to call a specific tool. |
AgentsNamedToolChoiceOutput |
Specifies a tool the model should use. Use to force the model to call a specific tool. |
AgentsOperations |
Agents Interface Contains operations for creating, listing, updating, and deleting agents, threads, runs, messages, and files. |
AzureAISearchResource |
A set of index resources used by the |
AzureAISearchResourceOutput |
A set of index resources used by the |
AzureAISearchToolDefinition |
The input definition information for an Azure AI search tool as used to configure an agent. |
AzureAISearchToolDefinitionOutput |
The input definition information for an Azure AI search tool as used to configure an agent. |
AzureFunctionBinding |
The structure for keeping storage queue name and URI. |
AzureFunctionBindingOutput |
The structure for keeping storage queue name and URI. |
AzureFunctionDefinition |
The definition of Azure function. |
AzureFunctionDefinitionOutput |
The definition of Azure function. |
AzureFunctionStorageQueue |
The structure for keeping storage queue name and URI. |
AzureFunctionStorageQueueOutput |
The structure for keeping storage queue name and URI. |
AzureFunctionToolDefinition |
The input definition information for a azure function tool as used to configure an agent. |
AzureFunctionToolDefinitionOutput |
The input definition information for a azure function tool as used to configure an agent. |
AzureFunctionToolResource | |
BingCustomSearchToolDefinition |
The input definition information for a bing custom search tool as used to configure an agent. |
BingCustomSearchToolDefinitionOutput |
The input definition information for a bing custom search tool as used to configure an agent. |
BingGroundingToolDefinition |
The input definition information for a bing grounding search tool as used to configure an agent. |
BingGroundingToolDefinitionOutput |
The input definition information for a bing grounding search tool as used to configure an agent. |
CancelRunOptionalParams |
Optional parameters for canceling a run. |
CancelVectorStoreFileBatchOptionalParams |
Optional parameters for canceling a vector store file batch. |
CodeInterpreterToolDefinition |
The input definition information for a code interpreter tool as used to configure an agent. |
CodeInterpreterToolDefinitionOutput |
The input definition information for a code interpreter tool as used to configure an agent. |
CodeInterpreterToolResource |
A set of resources that are used by the |
CodeInterpreterToolResourceOutput |
A set of resources that are used by the |
ConnectionsOperations |
Connections Interface for managing connections. |
CreateAgentOptionalParams |
Optional parameters for creating agent. |
CreateAgentOptions |
The request details to use when creating a new agent. |
CreateAgentThreadOptionalParams |
Optional parameters for creating an agent thread. |
CreateAndRunThreadOptions |
The details used when creating and immediately running a new agent thread. |
CreateAzureAISearchToolOptions |
the optional parameters for the Azure AI Search tool |
CreateMessageOptionalParams |
Optional parameters for creating a message. |
CreateRunOptions |
The details used when creating a new run of an agent thread. |
CreateVectorStoreFileBatchOptionalParams |
Optional parameters for creating a vector store file batch. |
CreateVectorStoreFileBatchOptions |
Request object for creating a vector store file batch. |
CreateVectorStoreFileOptionalParams |
Optional parameters for creating a vector store file. |
CreateVectorStoreFileOptions |
Request object for creating a vector store file. |
CreateVectorStoreOptionalParams |
Optional parameters creating vector store. |
CredentialsApiKeyAuthOutput |
The credentials needed for API key authentication |
CredentialsSASAuthOutput |
The credentials needed for Shared Access Signatures (SAS) authentication |
DeleteAgentOptionalParams |
Optional parameters for deleting agent. |
DeleteAgentThreadOptionalParams |
Optional parameters for deleting an agent thread. |
DeleteFileOptionalParams |
Optional parameters for deleting a file. |
DeleteVectorStoreFileOptionalParams |
Optional parameters for deleting a vector store file. |
DeleteVectorStoreOptionalParams |
Optional parameters for deleting a vector store. |
FileDeletionStatusOutput |
A status response from a file deletion operation. |
FileListResponseOutput |
The response data from a file list operation. |
FileSearchRankingOptions |
Ranking options for file search. |
FileSearchRankingOptionsOutput |
Ranking options for file search. |
FileSearchToolCallContentOutput |
The file search result content object. |
FileSearchToolDefinition |
The input definition information for a file search tool as used to configure an agent. |
FileSearchToolDefinitionDetails |
Options overrides for the file search tool. |
FileSearchToolDefinitionDetailsOutput |
Options overrides for the file search tool. |
FileSearchToolDefinitionOutput |
The input definition information for a file search tool as used to configure an agent. |
FileSearchToolResource |
A set of resources that are used by the |
FileSearchToolResourceOutput |
A set of resources that are used by the |
FileStatusFilter |
Filter by file status. |
FunctionDefinition |
The input definition information for a function. |
FunctionDefinitionOutput |
The input definition information for a function. |
FunctionName |
The function name that will be used, if using the |
FunctionNameOutput |
The function name that will be used, if using the |
FunctionToolDefinition |
The input definition information for a function tool as used to configure an agent. |
FunctionToolDefinitionOutput |
The input definition information for a function tool as used to configure an agent. |
GetAgentOptionalParams |
Optional parameters for getting agent. |
GetAgentThreadOptionalParams |
Optional parameters for getting an agent thread. |
GetConnectionOptionalParams |
Get connection optional parameters. |
GetConnectionResponseOutput |
Response from the listSecrets operation |
GetConnectionWithSecretsOptionalParams |
Get connection with secrets optional parameters. |
GetFileContentOptionalParams |
Optional parameters for getting file content. |
GetFileOptionalParams |
Optional parameters for getting a file. |
GetRunOptionalParams |
Optional parameters for getting a run. |
GetRunStepOptionalParams |
Optional parameters for getting an run step. |
GetVectorStoreFileBatchOptionalParams |
Optional parameters for getting a vector store file batch. |
GetVectorStoreFileOptionalParams |
Optional parameters for getting a vector store file. |
GetVectorStoreOptionalParams |
Optional parameters for getting a vector store. |
GetWorkspaceOptionalParams |
Get workspace optional parameters. |
IncompleteRunDetailsOutput |
Details on why the run is incomplete. Will be |
IndexResource |
A Index resource. |
IndexResourceOutput |
A Index resource. |
InternalConnectionPropertiesAADAuthOutput |
Connection properties for connections with AAD authentication (aka |
InternalConnectionPropertiesApiKeyAuthOutput |
Connection properties for connections with API key authentication |
InternalConnectionPropertiesOutputParent |
Connection properties |
InternalConnectionPropertiesSASAuthOutput |
Connection properties for connections with SAS authentication |
ListAgentThreadOptionalParams |
Optional parameters for deleting an agent thread. |
ListAgentsOptionalParams |
Optional parameters for listing agents. |
ListConnectionsOptionalParams |
List connections optional parameters. |
ListConnectionsQueryParamProperties | |
ListFilesOptionalParams |
Optional parameters for listing files. |
ListFilesQueryParamProperties | |
ListMessagesOptionalParams |
Optional parameters for listing messages. |
ListMessagesQueryParamProperties | |
ListQueryParameters |
Request options for list requests. |
ListRunQueryOptionalParams |
Optional parameters for listing run queries. |
ListRunStepsOptionalParams |
Optional parameters for listing run steps. |
ListThreadsQueryParamProperties | |
ListVectorStoreFileBatchFilesOptionalParams |
Optional parameters for listing vector store file batches. |
ListVectorStoreFilesOptionalParams |
Optional parameters for listing vector store files. |
ListVectorStoresOptionalParams |
Optional parameters for listing vector stores. |
MessageAttachment |
This describes to which tools a file has been attached. |
MessageAttachmentOutput |
This describes to which tools a file has been attached. |
MessageContentBlockInputParent |
Defines a single content block when creating a message. The 'type' field determines whether it is text, an image file, or an external image URL, etc. |
MessageContentOutputParent |
An abstract representation of a single item of thread message content. |
MessageDelta |
Represents the typed 'delta' payload within a streaming message delta chunk. |
MessageDeltaChunk |
Represents a message delta i.e. any changed fields on a message during streaming. |
MessageDeltaContentParent |
The abstract base representation of a partial streamed message content payload. |
MessageDeltaImageFileContent |
Represents a streamed image file content part within a streaming message delta chunk. |
MessageDeltaImageFileContentObject |
Represents the 'image_file' payload within streaming image file content. |
MessageDeltaTextAnnotationParent |
The abstract base representation of a streamed text content part's text annotation. |
MessageDeltaTextContent |
Represents a streamed text content part within a streaming message delta chunk. |
MessageDeltaTextContentObject |
Represents the data of a streamed text content part within a streaming message delta chunk. |
MessageDeltaTextFileCitationAnnotation |
Represents a streamed file citation applied to a streaming text content part. |
MessageDeltaTextFileCitationAnnotationObject |
Represents the data of a streamed file citation as applied to a streaming text content part. |
MessageDeltaTextFilePathAnnotation |
Represents a streamed file path annotation applied to a streaming text content part. |
MessageDeltaTextFilePathAnnotationObject |
Represents the data of a streamed file path annotation as applied to a streaming text content part. |
MessageDeltaTextUrlCitationDetails |
A representation of the URL used for the text citation. |
MessageImageFileBlockInput |
Creation-time image-file block. |
MessageImageFileContentOutput |
A representation of image file content in a thread message. |
MessageImageFileDetailsOutput |
An image reference, as represented in thread message content. |
MessageImageFileParam |
Parameter for an image file (by ID) at creation time. |
MessageImageUrlBlockInput |
Creation-time image-URL block. |
MessageImageUrlParam |
Parameter for an external image URL at creation time. |
MessageIncompleteDetailsOutput |
Information providing additional detail about a message entering an incomplete status. |
MessageTextAnnotationOutputParent |
An abstract representation of an annotation to text thread message content. |
MessageTextBlockInput |
Creation-time text block. |
MessageTextContentOutput |
A representation of a textual item of thread message content. |
MessageTextDetailsOutput |
The text and associated annotations for a single item of agent thread message content. |
MessageTextFileCitationAnnotationOutput |
A citation within the message that points to a specific quote from a specific File associated with the agent or the message. Generated when the agent uses the 'file_search' tool to search files. |
MessageTextFileCitationDetailsOutput |
A representation of a file-based text citation, as used in a file-based annotation of text thread message content. |
MessageTextFilePathAnnotationOutput |
A citation within the message that points to a file located at a specific path. |
MessageTextFilePathDetailsOutput |
An encapsulation of an image file ID, as used by message image content. |
MicrosoftFabricToolDefinition |
The input definition information for a Microsoft Fabric tool as used to configure an agent. |
MicrosoftFabricToolDefinitionOutput |
The input definition information for a Microsoft Fabric tool as used to configure an agent. |
OpenAIFileOutput |
Represents an agent that can call the model and use tools. |
OpenAIPageableListOfAgentOutput |
The response data for a requested list of items. |
OpenAIPageableListOfAgentThreadOutput |
The response data for a requested list of items. |
OpenAIPageableListOfRunStepOutput |
The response data for a requested list of items. |
OpenAIPageableListOfThreadMessageOutput |
The response data for a requested list of items. |
OpenAIPageableListOfThreadRunOutput |
The response data for a requested list of items. |
OpenAIPageableListOfVectorStoreFileOutput |
The response data for a requested list of items. |
OpenAIPageableListOfVectorStoreOutput |
The response data for a requested list of items. |
OpenApiAnonymousAuthDetails |
Security details for OpenApi anonymous authentication |
OpenApiAnonymousAuthDetailsOutput |
Security details for OpenApi anonymous authentication |
OpenApiAuthDetailsOutputParent |
authentication details for OpenApiFunctionDefinition |
OpenApiAuthDetailsParent |
authentication details for OpenApiFunctionDefinition |
OpenApiConnectionAuthDetails |
Security details for OpenApi connection authentication |
OpenApiConnectionAuthDetailsOutput |
Security details for OpenApi connection authentication |
OpenApiConnectionSecurityScheme |
Security scheme for OpenApi managed_identity authentication |
OpenApiConnectionSecuritySchemeOutput |
Security scheme for OpenApi managed_identity authentication |
OpenApiFunctionDefinition |
The input definition information for an openapi function. |
OpenApiFunctionDefinitionOutput |
The input definition information for an openapi function. |
OpenApiManagedAuthDetails |
Security details for OpenApi managed_identity authentication |
OpenApiManagedAuthDetailsOutput |
Security details for OpenApi managed_identity authentication |
OpenApiManagedSecurityScheme |
Security scheme for OpenApi managed_identity authentication |
OpenApiManagedSecuritySchemeOutput |
Security scheme for OpenApi managed_identity authentication |
OpenApiToolDefinition |
The input definition information for an OpenAPI tool as used to configure an agent. |
OpenApiToolDefinitionOutput |
The input definition information for an OpenAPI tool as used to configure an agent. |
PollingOptions |
Options for configuring polling behavior. |
PollingOptionsParams |
Optional parameters configuring polling behavior. |
ProjectsClientOptions |
The optional parameters for the client |
RequiredActionOutputParent |
An abstract representation of a required action for an agent thread run to continue. |
RequiredFunctionToolCallDetailsOutput |
The detailed information for a function invocation, as provided by a required action invoking a function tool, that includes the name of and arguments to the function. |
RequiredFunctionToolCallOutput |
A representation of a requested call to a function tool, needed by the model to continue evaluation of a run. |
RequiredToolCallOutputParent |
An abstract representation of a tool invocation needed by the model to continue a run. |
ResponseFormatJsonSchema |
A description of what the response format is for, used by the model to determine how to respond in the format. |
ResponseFormatJsonSchemaOutput |
A description of what the response format is for, used by the model to determine how to respond in the format. |
ResponseFormatJsonSchemaType |
The type of response format being defined: |
ResponseFormatJsonSchemaTypeOutput |
The type of response format being defined: |
RunCompletionUsageOutput |
Usage statistics related to the run. This value will be |
RunErrorOutput |
The details of an error as encountered by an agent thread run. |
RunStepAzureAISearchToolCallOutput |
A record of a call to an Azure AI Search tool, issued by the model in evaluation of a defined tool, that represents executed Azure AI search. |
RunStepBingGroundingToolCallOutput |
A record of a call to a bing grounding tool, issued by the model in evaluation of a defined tool, that represents executed search with bing grounding. |
RunStepCodeInterpreterImageOutputOutput |
A representation of an image output emitted by a code interpreter tool in response to a tool call by the model. |
RunStepCodeInterpreterImageReferenceOutput |
An image reference emitted by a code interpreter tool in response to a tool call by the model. |
RunStepCodeInterpreterLogOutputOutput |
A representation of a log output emitted by a code interpreter tool in response to a tool call by the model. |
RunStepCodeInterpreterToolCallDetailsOutput |
The detailed information about a code interpreter invocation by the model. |
RunStepCodeInterpreterToolCallOutput |
A record of a call to a code interpreter tool, issued by the model in evaluation of a defined tool, that represents inputs and outputs consumed and emitted by the code interpreter. |
RunStepCodeInterpreterToolCallOutputOutputParent |
An abstract representation of an emitted output from a code interpreter tool. |
RunStepCompletionUsageOutput |
Usage statistics related to the run step. |
RunStepDelta |
Represents the delta payload in a streaming run step delta chunk. |
RunStepDeltaChunk |
Represents a run step delta i.e. any changed fields on a run step during streaming. |
RunStepDeltaCodeInterpreterDetailItemObject |
Represents the Code Interpreter tool call data in a streaming run step's tool calls. |
RunStepDeltaCodeInterpreterImageOutput |
Represents an image output as produced the Code interpreter tool and as represented in a streaming run step's delta tool calls collection. |
RunStepDeltaCodeInterpreterImageOutputObject |
Represents the data for a streaming run step's Code Interpreter tool call image output. |
RunStepDeltaCodeInterpreterLogOutput |
Represents a log output as produced by the Code Interpreter tool and as represented in a streaming run step's delta tool calls collection. |
RunStepDeltaCodeInterpreterOutputParent |
The abstract base representation of a streaming run step tool call's Code Interpreter tool output. |
RunStepDeltaCodeInterpreterToolCall |
Represents a Code Interpreter tool call within a streaming run step's tool call details. |
RunStepDeltaDetail |
Represents a single run step detail item in a streaming run step's delta payload. |
RunStepDeltaFileSearchToolCall |
Represents a file search tool call within a streaming run step's tool call details. |
RunStepDeltaFunction |
Represents the function data in a streaming run step delta's function tool call. |
RunStepDeltaFunctionToolCall |
Represents a function tool call within a streaming run step's tool call details. |
RunStepDeltaMessageCreation |
Represents a message creation within a streaming run step delta. |
RunStepDeltaMessageCreationObject |
Represents the data within a streaming run step message creation response object. |
RunStepDeltaToolCallObject |
Represents an invocation of tool calls as part of a streaming run step. |
RunStepDeltaToolCallParent |
The abstract base representation of a single tool call within a streaming run step's delta tool call details. |
RunStepDetailsOutputParent |
An abstract representation of the details for a run step. |
RunStepErrorOutput |
The error information associated with a failed run step. |
RunStepFileSearchToolCallOutput |
A record of a call to a file search tool, issued by the model in evaluation of a defined tool, that represents executed file search. |
RunStepFileSearchToolCallResultOutput |
File search tool call result. |
RunStepFileSearchToolCallResultsOutput |
The results of the file search. |
RunStepFunctionToolCallDetailsOutput |
The detailed information about the function called by the model. |
RunStepFunctionToolCallOutput |
A record of a call to a function tool, issued by the model in evaluation of a defined tool, that represents the inputs and output consumed and emitted by the specified function. |
RunStepMessageCreationDetailsOutput |
The detailed information associated with a message creation run step. |
RunStepMessageCreationReferenceOutput |
The details of a message created as a part of a run step. |
RunStepMicrosoftFabricToolCallOutput |
A record of a call to a Microsoft Fabric tool, issued by the model in evaluation of a defined tool, that represents executed Microsoft Fabric operations. |
RunStepOutput |
Detailed information about a single step of an agent thread run. |
RunStepSharepointToolCallOutput |
A record of a call to a SharePoint tool, issued by the model in evaluation of a defined tool, that represents executed SharePoint actions. |
RunStepToolCallDetailsOutput |
The detailed information associated with a run step calling tools. |
RunStepToolCallOutputParent |
An abstract representation of a detailed tool call as recorded within a run step for an existing run. |
SearchConfiguration |
The input definition information for a search configuration. |
SearchConfigurationList |
The array of search configurations used by the bing custom search tool. |
SearchConfigurationListOutput |
An array of connection resources currently used by the |
SearchConfigurationOutput |
The connection information for a search configuration. This is used by the |
SharepointToolDefinition |
The input definition information for a sharepoint tool as used to configure an agent. |
SharepointToolDefinitionOutput |
The input definition information for a sharepoint tool as used to configure an agent. |
SubmitToolOutputsActionOutput |
The details for required tool calls that must be submitted for an agent thread run to continue. |
SubmitToolOutputsDetailsOutput |
The details describing tools that should be called to submit tool outputs. |
SubmitToolOutputsToRunOptionalParams |
Optional parameters for submitting tool outputs to a run. |
TelemetryOperations |
Telemetry operations |
TelemetryOptions |
Telemetry options |
ThreadDeletionStatusOutput |
The status of a thread deletion operation. |
ThreadMessageOptions |
A single message within an agent thread, as provided during that thread's creation for its initial state. |
ThreadMessageOutput |
A single, existing message within an agent thread. |
ThreadRunOutput |
Data representing a single evaluation run of an agent thread. |
ToolConnection |
A connection resource. |
ToolConnectionList |
A set of connection resources currently used by either the |
ToolConnectionListOutput |
A set of connection resources currently used by either the |
ToolConnectionOutput |
A connection resource. |
ToolDefinitionOutputParent |
An abstract representation of an input tool definition that an agent can use. |
ToolDefinitionParent |
An abstract representation of an input tool definition that an agent can use. |
ToolOutput |
The data provided during a tool outputs submission to resolve pending tool calls and allow the model to continue. |
ToolResources |
A set of resources that are used by the agent's tools. The resources are specific to the type of
tool. For example, the |
ToolResourcesOutput |
A set of resources that are used by the agent's tools. The resources are specific to the type of
tool. For example, the |
TruncationObject |
Controls for how a thread will be truncated prior to the run. Use this to control the initial context window of the run. |
TruncationObjectOutput |
Controls for how a thread will be truncated prior to the run. Use this to control the initial context window of the run. |
UpdateAgentOptionalParams |
Optional parameters for updating agent. |
UpdateAgentOptions |
The request details to use when modifying an existing agent. |
UpdateAgentThreadOptionalParams |
Optional parameters for updating an agent thread. |
UpdateAgentThreadOptions |
The details used to update an existing agent thread |
UpdateCodeInterpreterToolResourceOptions |
Request object to update |
UpdateCodeInterpreterToolResourceOptionsOutput |
Request object to update |
UpdateFileSearchToolResourceOptions |
Request object to update |
UpdateFileSearchToolResourceOptionsOutput |
Request object to update |
UpdateMessageOptionalParams |
Optional parameters for updating a message. |
UpdateRunOptionalParams |
Optional parameters for updating a run. |
UpdateToolResourcesOptions |
Request object. A set of resources that are used by the agent's tools. The resources are specific to the type of tool.
For example, the |
UpdateToolResourcesOptionsOutput |
Request object. A set of resources that are used by the agent's tools. The resources are specific to the type of tool.
For example, the |
UpdateVectorStoreOptionalParams |
Optional parameters for updating a vector store. |
UploadFileOptionalParams |
Optional parameters for uploading a file. |
VectorStoreAutoChunkingStrategyRequest |
The default strategy. This strategy currently uses a max_chunk_size_tokens of 800 and chunk_overlap_tokens of 400. |
VectorStoreAutoChunkingStrategyResponseOutput |
This is returned when the chunking strategy is unknown. Typically, this is because the file was indexed before the chunking_strategy concept was introduced in the API. |
VectorStoreChunkingStrategyRequestParent |
An abstract representation of a vector store chunking strategy configuration. |
VectorStoreChunkingStrategyResponseOutputParent |
An abstract representation of a vector store chunking strategy configuration. |
VectorStoreConfiguration |
Vector storage configuration is the list of data sources, used when multiple files can be used for the enterprise file search. |
VectorStoreConfigurationOutput |
Vector storage configuration is the list of data sources, used when multiple files can be used for the enterprise file search. |
VectorStoreConfigurations |
The structure, containing the list of vector storage configurations i.e. the list of azure asset IDs. |
VectorStoreConfigurationsOutput |
The structure, containing the list of vector storage configurations i.e. the list of azure asset IDs. |
VectorStoreDataSource |
The structure, containing Azure asset URI path and the asset type of the file used as a data source for the enterprise file search. |
VectorStoreDataSourceOutput |
The structure, containing Azure asset URI path and the asset type of the file used as a data source for the enterprise file search. |
VectorStoreDeletionStatusOutput |
Response object for deleting a vector store. |
VectorStoreExpirationPolicy |
The expiration policy for a vector store. |
VectorStoreExpirationPolicyOutput |
The expiration policy for a vector store. |
VectorStoreFileBatchOutput |
A batch of files attached to a vector store. |
VectorStoreFileCountOutput |
Counts of files processed or being processed by this vector store grouped by status. |
VectorStoreFileDeletionStatusOutput |
Response object for deleting a vector store file relationship. |
VectorStoreFileErrorOutput |
Details on the error that may have occurred while processing a file for this vector store |
VectorStoreFileOutput |
Description of a file attached to a vector store. |
VectorStoreOptions |
Request object for creating a vector store. |
VectorStoreOutput |
A vector store is a collection of processed files can be used by the |
VectorStoreStaticChunkingStrategyOptions |
Options to configure a vector store static chunking strategy. |
VectorStoreStaticChunkingStrategyOptionsOutput |
Options to configure a vector store static chunking strategy. |
VectorStoreStaticChunkingStrategyRequest |
A statically configured chunking strategy. |
VectorStoreStaticChunkingStrategyResponseOutput |
A statically configured chunking strategy. |
VectorStoreUpdateOptions |
Request object for updating a vector store. |
Type Aliases
AgentEventStreamDataOutput |
Represents a stream event data in the agent. |
AgentRunResponse |
Agent run response with support to stream. |
AgentStreamEventType |
Represents the type of an agent stream event. |
AgentsApiResponseFormatMode |
Alias for AgentsApiResponseFormatMode |
AgentsApiResponseFormatModeOutput |
Alias for AgentsApiResponseFormatModeOutput |
AgentsApiResponseFormatOption |
Alias for AgentsApiResponseFormatOption |
AgentsApiResponseFormatOptionOutput |
Alias for AgentsApiResponseFormatOptionOutput |
AgentsApiToolChoiceOption |
Alias for AgentsApiToolChoiceOption |
AgentsApiToolChoiceOptionMode |
Alias for AgentsApiToolChoiceOptionMode |
AgentsApiToolChoiceOptionModeOutput |
Alias for AgentsApiToolChoiceOptionModeOutput |
AgentsApiToolChoiceOptionOutput |
Alias for AgentsApiToolChoiceOptionOutput |
AgentsNamedToolChoiceType |
Alias for AgentsNamedToolChoiceType |
AgentsNamedToolChoiceTypeOutput |
Alias for AgentsNamedToolChoiceTypeOutput |
AuthenticationTypeOutput |
Authentication type used by Azure AI service to connect to another service |
AzureAISearchQueryType |
Alias for AzureAISearchQueryType |
ConnectionType |
Alias for ConnectionType |
ConnectionTypeOutput |
The Type (or category) of the connection |
CreateAndRunThreadOptionalParams |
Optional parameters for creating and running a thread, excluding the assistantId. |
CreateMessageContent |
Alias for CreateMessageContent |
CreateRunOptionalParams |
Optional parameters for creating and running a thread, excluding the assistantId. |
FilePurpose |
Alias for FilePurpose |
FilePurposeOutput |
Alias for FilePurposeOutput |
FileStateOutput |
Alias for FileStateOutput |
ImageDetailLevel |
Alias for ImageDetailLevel |
IncompleteDetailsReasonOutput |
Alias for IncompleteDetailsReasonOutput |
InternalConnectionPropertiesOutput |
Connection properties |
ListSortOrder |
Alias for ListSortOrder |
MessageAttachmentToolDefinition |
Alias for MessageAttachmentToolDefinition |
MessageAttachmentToolDefinitionOutput |
Alias for MessageAttachmentToolDefinitionOutput |
MessageBlockType |
Alias for MessageBlockType |
MessageContentBlockInput |
Defines a single content block when creating a message. The 'type' field determines whether it is text, an image file, or an external image URL, etc. |
MessageContentOutput |
An abstract representation of a single item of thread message content. |
MessageDeltaContent |
Represents the content of a message delta. |
MessageDeltaTextAnnotation |
Represents a text annotation within a streamed text content part. |
MessageIncompleteDetailsReasonOutput |
Alias for MessageIncompleteDetailsReasonOutput |
MessageRole |
Alias for MessageRole |
MessageRoleOutput |
Alias for MessageRoleOutput |
MessageStatusOutput |
Alias for MessageStatusOutput |
MessageTextAnnotationOutput |
An abstract representation of an annotation to text thread message content. |
OpenApiAuthDetails |
authentication details for OpenApiFunctionDefinition |
OpenApiAuthDetailsOutput |
authentication details for OpenApiFunctionDefinition |
OpenApiAuthType |
Alias for OpenApiAuthType |
OpenApiAuthTypeOutput |
Alias for OpenApiAuthTypeOutput |
RequiredActionOutput |
An abstract representation of a required action for an agent thread run to continue. |
RequiredToolCallOutput |
An abstract representation of a tool invocation needed by the model to continue a run. |
ResponseFormat |
Alias for ResponseFormat |
ResponseFormatOutput |
Alias for ResponseFormatOutput |
RunStatusOutput |
Alias for RunStatusOutput |
RunStepCodeInterpreterToolCallOutputOutput |
An abstract representation of an emitted output from a code interpreter tool. |
RunStepDeltaCodeInterpreterOutput |
Represents the Code Interpreter data in a streaming run step's tool call output. |
RunStepDeltaToolCall |
Represents a single tool call within a streaming run step's delta tool call details. |
RunStepDetailsOutput |
An abstract representation of the details for a run step. |
RunStepErrorCodeOutput |
Alias for RunStepErrorCodeOutput |
RunStepStatusOutput |
Alias for RunStepStatusOutput |
RunStepToolCallOutput |
An abstract representation of a detailed tool call as recorded within a run step for an existing run. |
RunStepTypeOutput |
Alias for RunStepTypeOutput |
ToolDefinition |
An abstract representation of an input tool definition that an agent can use. |
ToolDefinitionOutput |
An abstract representation of an input tool definition that an agent can use. |
TruncationStrategy |
Alias for TruncationStrategy |
TruncationStrategyOutput |
Alias for TruncationStrategyOutput |
VectorStoreChunkingStrategyRequest |
An abstract representation of a vector store chunking strategy configuration. |
VectorStoreChunkingStrategyRequestType |
Alias for VectorStoreChunkingStrategyRequestType |
VectorStoreChunkingStrategyResponseOutput |
An abstract representation of a vector store chunking strategy configuration. |
VectorStoreChunkingStrategyResponseTypeOutput |
Alias for VectorStoreChunkingStrategyResponseTypeOutput |
VectorStoreDataSourceAssetType |
Alias for VectorStoreDataSourceAssetType |
VectorStoreDataSourceAssetTypeOutput |
Alias for VectorStoreDataSourceAssetTypeOutput |
VectorStoreExpirationPolicyAnchor |
Alias for VectorStoreExpirationPolicyAnchor |
VectorStoreExpirationPolicyAnchorOutput |
Alias for VectorStoreExpirationPolicyAnchorOutput |
VectorStoreFileBatchStatusOutput |
Alias for VectorStoreFileBatchStatusOutput |
VectorStoreFileErrorCodeOutput |
Alias for VectorStoreFileErrorCodeOutput |
VectorStoreFileStatusFilter |
Alias for VectorStoreFileStatusFilter |
VectorStoreFileStatusOutput |
Alias for VectorStoreFileStatusOutput |
VectorStoreStatusOutput |
Alias for VectorStoreStatusOutput |
Enums
DoneEvent |
Terminal event indicating the successful end of a stream. |
ErrorEvent |
Terminal event indicating a server side error while streaming. |
MessageStreamEvent |
Message operation related streaming events |
RunStepStreamEvent |
Run step operation related streaming events |
RunStreamEvent |
Run operation related streaming events |
ThreadStreamEvent |
Thread operation related streaming events |
connectionToolType |
Types of connection tools used to configure an agent |
Functions
is |
Determines if the given output is of the specified type. |
Function Details
isOutputOfType<T>(RequiredActionOutput | ToolDefinitionOutputParent | RequiredToolCallOutput, string)
Determines if the given output is of the specified type.
function isOutputOfType<T>(output: RequiredActionOutput | ToolDefinitionOutputParent | RequiredToolCallOutput, type: string): output
Parameters
The action to check, which can be of type RequiredActionOutput
, RequiredToolCallOutput
, or ToolDefinitionOutputParent
.
- type
-
string
The type to check the action against.
Returns
output
A boolean indicating whether the action is of the specified type.