Insights.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetAllAsync(Nullable<InsightType>, String, String, String, Nullable<Boolean>, CancellationToken) |
List all insights in reverse chronological order (newest first). |
| GetAllAsync(String, String, String, String, Nullable<Boolean>, RequestOptions) |
[Protocol Method] List all insights in reverse chronological order (newest first).
|
GetAllAsync(Nullable<InsightType>, String, String, String, Nullable<Boolean>, CancellationToken)
- Source:
- Insights.cs
List all insights in reverse chronological order (newest first).
public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.Insight> GetAllAsync(Azure.AI.Projects.InsightType? type = default, string evalId = default, string runId = default, string agentName = default, bool? includeCoordinates = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<Azure.AI.Projects.InsightType> * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.Insight>
override this.GetAllAsync : Nullable<Azure.AI.Projects.InsightType> * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.Insight>
Public Overridable Function GetAllAsync (Optional type As Nullable(Of InsightType) = Nothing, Optional evalId As String = Nothing, Optional runId As String = Nothing, Optional agentName As String = Nothing, Optional includeCoordinates As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of Insight)
Parameters
- type
- Nullable<InsightType>
Filter by the type of analysis.
- evalId
- String
Filter by the evaluation ID.
- runId
- String
Filter by the evaluation run ID.
- agentName
- String
Filter by the agent name.
Whether to include coordinates for visualization in the response. Defaults to false.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.
Applies to
GetAllAsync(String, String, String, String, Nullable<Boolean>, RequestOptions)
- Source:
- Insights.cs
[Protocol Method] List all insights in reverse chronological order (newest first).
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.AsyncCollectionResult GetAllAsync(string type, string evalId, string runId, string agentName, bool? includeCoordinates, System.ClientModel.Primitives.RequestOptions options);
abstract member GetAllAsync : string * string * string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetAllAsync : string * string * string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetAllAsync (type As String, evalId As String, runId As String, agentName As String, includeCoordinates As Nullable(Of Boolean), options As RequestOptions) As AsyncCollectionResult
Parameters
- type
- String
Filter by the type of analysis.
- evalId
- String
Filter by the evaluation ID.
- runId
- String
Filter by the evaluation run ID.
- agentName
- String
Filter by the agent name.
Whether to include coordinates for visualization in the response. Defaults to false.
- options
- RequestOptions
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
Service returned a non-success status code.