@azure/ai-discovery package
Classes
| BookshelfClient |
Client for the Microsoft Discovery Bookshelf service. Exposes the |
| WorkspaceClient |
Client for the Microsoft Discovery Workspace service. Exposes the workspace-scoped
operation groups: |
Interfaces
| BookshelfClientOptionalParams |
Optional parameters for the client. |
| BookshelfClientRestorePollerOptions | |
| Citation |
A citation for a generated result. |
| ComputeUsage |
Overview of compute usage for a project. |
| Conversation |
A conversation. |
| ConversationsCreateOptionalParams |
Optional parameters. |
| ConversationsDeleteOptionalParams |
Optional parameters. |
| ConversationsGetOptionalParams |
Optional parameters. |
| ConversationsListOptionalParams |
Optional parameters. |
| ConversationsOperations |
Interface representing a Conversations operations. |
| ConversationsUpdateOptionalParams |
Optional parameters. |
| DiscoveryEngine |
Discovery engine instance. |
| DiscoveryEngineUpdate |
Discovery Engine Update Request. This will create the discovery engine if it does not already exist. |
| ExecutionHistoryEntry |
Execution history entry for a task. |
| IndexingMetrics |
Indexing metrics for a run. |
| IndexingOperationResult |
Result details for an indexing operation. |
| InfraOverrides |
Explicitly set tool run requirements - overrides the tool definition. |
| InlineFile |
A file to be included in the input data for a tool run and the path where it will be mounted, relative to the working directory. |
| InputDataMount |
Data URI and path where it will be mounted in the tool container. |
| Investigation |
A investigation list item. |
| InvestigationOperationStatus |
The status of a long-running Investigation operation. |
| InvestigationsCreateOrReplaceOptionalParams |
Optional parameters. |
| InvestigationsDeleteOptionalParams |
Optional parameters. |
| InvestigationsGetDiscoveryEngineMemoryOptionalParams |
Optional parameters. |
| InvestigationsGetDiscoveryEngineOptionalParams |
Optional parameters. |
| InvestigationsGetOperationStatusOptionalParams |
Optional parameters. |
| InvestigationsGetOptionalParams |
Optional parameters. |
| InvestigationsListOptionalParams |
Optional parameters. |
| InvestigationsOperations |
Interface representing a Investigations operations. |
| InvestigationsStartDiscoveryEngineOptionalParams |
Optional parameters. |
| InvestigationsStopDiscoveryEngineOptionalParams |
Optional parameters. |
| InvestigationsUpdateDiscoveryEngineOptionalParams |
Optional parameters. |
| InvestigationsUpdateOptionalParams |
Optional parameters. |
| KnowledgeBase |
A knowledgeBase. |
| KnowledgeBaseIndexingOperationResponse |
Response for indexing operations. |
| KnowledgeBaseOperationResponse |
Response indicating the KnowledgeBase operation. |
| KnowledgeBaseSearchOperationResponse |
Response for search operations. |
| KnowledgeBasesCancelIndexingOptionalParams |
Optional parameters. |
| KnowledgeBasesCreateOrUpdateOptionalParams |
Optional parameters. |
| KnowledgeBasesDeleteOptionalParams |
Optional parameters. |
| KnowledgeBasesGetOperationStatusOptionalParams |
Optional parameters. |
| KnowledgeBasesGetOptionalParams |
Optional parameters. |
| KnowledgeBasesListOptionalParams |
Optional parameters. |
| KnowledgeBasesOperations |
Interface representing a KnowledgeBases operations. |
| KnowledgeBasesSearchOptionalParams |
Optional parameters. |
| KnowledgeBasesStartIndexingOptionalParams |
Optional parameters. |
| LastIndexingRun |
The details of the last indexing run. |
| NodepoolUsage |
Overview of compute usage for a nodepool. |
| Operation |
Summary information for an operation. |
| OperationStatusRunResultError |
Provides status details for long running operations. |
| OutputDataMount |
Definition of a mount for collecting tool output data. |
| OutputDataUri |
Model for providing the URI of the output collected from a specific container path. |
| PageSettings |
Options for the byPage method |
| PagedAsyncIterableIterator |
An interface that allows async iterable iteration both to completion and by page. |
| PagedConversation |
Paged collection of Conversation items |
| PagedInvestigation |
Paged collection of Investigation items |
| PagedOperation |
Paged collection of Operation items |
| PagedWorkingMemoryEntry |
Paged collection of WorkingMemoryEntry items |
| RunResult |
Run result |
| SearchRequest |
The search action request body. |
| SearchResponse |
Results of a knowledge base search. |
| SearchResultItem |
A single search result item. |
| StartTaskRequest |
Request body for starting a task. |
| StorageAssetReference |
Reference to a storage asset with identity information. |
| SupercomputerUsage |
Overview of compute usage for a supercomputer. |
| Tag |
Definition of Tag |
| Task |
Task resource. |
| TaskAssignee |
Task assignee information. |
| TaskComment |
Task comment. |
| TaskResult |
Task execution result. |
| TasksAddCommentOptionalParams |
Optional parameters. |
| TasksAddExecutionHistoryOptionalParams |
Optional parameters. |
| TasksCreateOptionalParams |
Optional parameters. |
| TasksDeleteOptionalParams |
Optional parameters. |
| TasksGetOptionalParams |
Optional parameters. |
| TasksListOptionalParams |
Optional parameters. |
| TasksOperations |
Interface representing a Tasks operations. |
| TasksStartOptionalParams |
Optional parameters. |
| TasksUpdateOptionalParams |
Optional parameters. |
| ToolsCancelRunOptionalParams |
Optional parameters. |
| ToolsGetComputeUsageOptionalParams |
Optional parameters. |
| ToolsGetOperationsOptionalParams |
Optional parameters. |
| ToolsGetRunStatusOptionalParams |
Optional parameters. |
| ToolsOperations |
Interface representing a Tools operations. |
| ToolsRunOptionalParams |
Optional parameters. |
| WorkingMemoryEntry |
Working memory entry. |
| WorkspaceClientOptionalParams |
Optional parameters for the client. |
| WorkspaceClientRestorePollerOptions | |
Type Aliases
| ByType |
Enum for entity type Known values supported by the serviceUser: A human user. |
| CitationType |
The type of citation. Known values supported by the servicefile_citation: A file citation. |
| ContinuablePage |
An interface that describes a page of results. |
| ConversationCreateOrUpdateContent |
The writable properties supplied when creating or updating a Conversation. |
| DiscoveryEngineStatus |
Discovery Engine Status Known values supported by the serviceInactive: Discovery Engine Inactive |
| IndexingStatus |
Enum for IndexingStatus Known values supported by the serviceNotStarted: Indexing Not started |
| InvestigationCreateOrUpdateContent |
The writable properties supplied when creating or updating an Investigation. |
| InvestigationStatus |
Status Known values supported by the serviceCreated: Investigation Created |
| KnowledgeBaseCreateOrUpdateContent |
The writable properties supplied when creating or updating a KnowledgeBase. |
| KnowledgeBaseOperationResponseUnion |
Alias for KnowledgeBaseOperationResponseUnion |
| KnowledgeBaseOperationType |
Status indicating the KnowledgeBase operation. Known values supported by the serviceIndexing: An indexing operation. |
| OperationState |
Enum describing allowed operation states. Known values supported by the serviceNotStarted: The operation has not started. |
| ProvisioningState |
The resource provisioning state. Known values supported by the serviceSucceeded: Resource has been created. |
| RepeatabilityResult |
Repeatability Result header options |
| RunStatus |
Enum for run status Known values supported by the serviceNotStarted: Not Started |
| StorageMountProtocol |
The protocol to use for mounting an storage container. Known values supported by the serviceNFS: NFS protocol. Version of NFS used may vary based on storage type |
| TaskCreateOrUpdateContent |
The writable properties supplied when creating or updating a Task. |
| TaskPriority |
Task priority level. Known values supported by the serviceLow: Low priority |
| TaskStatus |
Task status enumeration. Known values supported by the serviceNew: The task is newly created |
| WorkingMemoryEntryType |
Working memory entry type. Known values supported by the serviceThought: Thought |
Enums
| KnownByType |
Enum for entity type |
| KnownCitationType |
The type of citation. |
| KnownDiscoveryEngineStatus |
Discovery Engine Status |
| KnownIndexingStatus |
Enum for IndexingStatus |
| KnownInvestigationStatus |
Status |
| KnownKnowledgeBaseOperationType |
Status indicating the KnowledgeBase operation. |
| KnownOperationState |
Enum describing allowed operation states. |
| KnownProvisioningState |
The resource provisioning state. |
| KnownRunStatus |
Enum for run status |
| KnownStorageMountProtocol |
The protocol to use for mounting an storage container. |
| KnownTaskPriority |
Task priority level. |
| KnownTaskStatus |
Task status enumeration. |
| KnownWorkingMemoryEntryType |
Working memory entry type. |
Functions
| bookshelf |
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope. |
| is |
Typeguard for RestError |
| workspace |
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope. |
Variables
| Rest |
A custom error type for failed pipeline requests. |
Function Details
bookshelfClientRestorePoller<TResponse, TResult>(BookshelfClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.
function bookshelfClientRestorePoller<TResponse, TResult>(client: BookshelfClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>
Parameters
- client
- BookshelfClient
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
BookshelfClientRestorePollerOptions<TResult, PathUncheckedResponse>
Returns
PollerLike<OperationState<TResult>, TResult>
isRestError(unknown)
Typeguard for RestError
function isRestError(e: unknown): e
Parameters
- e
-
unknown
Something caught by a catch clause.
Returns
e
workspaceClientRestorePoller<TResponse, TResult>(WorkspaceClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.
function workspaceClientRestorePoller<TResponse, TResult>(client: WorkspaceClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>
Parameters
- client
- WorkspaceClient
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
WorkspaceClientRestorePollerOptions<TResult, PathUncheckedResponse>
Returns
PollerLike<OperationState<TResult>, TResult>
Variable Details
RestError
A custom error type for failed pipeline requests.
RestError: RestErrorConstructor