Condividi tramite


ProjectInsights.Generate Method

Definition

Overloads

Name Description
Generate(ProjectsInsight, Nullable<FoundryFeaturesOptInKeys>, CancellationToken)

Generate Insights.

Generate(BinaryContent, String, RequestOptions)

[Protocol Method] Generate Insights

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

Generate(ProjectsInsight, Nullable<FoundryFeaturesOptInKeys>, CancellationToken)

Source:
ProjectInsights.cs
Source:
ProjectInsights.cs

Generate Insights.

public virtual System.ClientModel.ClientResult<Azure.AI.Projects.Evaluation.ProjectsInsight> Generate(Azure.AI.Projects.Evaluation.ProjectsInsight insight, Azure.AI.Projects.FoundryFeaturesOptInKeys? foundryFeatures = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Generate : Azure.AI.Projects.Evaluation.ProjectsInsight * Nullable<Azure.AI.Projects.FoundryFeaturesOptInKeys> * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Evaluation.ProjectsInsight>
override this.Generate : Azure.AI.Projects.Evaluation.ProjectsInsight * Nullable<Azure.AI.Projects.FoundryFeaturesOptInKeys> * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Evaluation.ProjectsInsight>
Public Overridable Function Generate (insight As ProjectsInsight, Optional foundryFeatures As Nullable(Of FoundryFeaturesOptInKeys) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ClientResult(Of ProjectsInsight)

Parameters

insight
ProjectsInsight

Complete evaluation configuration including data source, evaluators, and result settings.

foundryFeatures
Nullable<FoundryFeaturesOptInKeys>

A feature flag opt-in required when using preview operations or modifying persisted preview resources.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

insight is null.

Service returned a non-success status code.

Applies to

Generate(BinaryContent, String, RequestOptions)

Source:
ProjectInsights.cs
Source:
ProjectInsights.cs

[Protocol Method] Generate Insights

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.ClientResult Generate(System.ClientModel.BinaryContent content, string foundryFeatures = default, System.ClientModel.Primitives.RequestOptions options = default);
abstract member Generate : System.ClientModel.BinaryContent * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
override this.Generate : System.ClientModel.BinaryContent * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public Overridable Function Generate (content As BinaryContent, Optional foundryFeatures As String = Nothing, Optional options As RequestOptions = Nothing) As ClientResult

Parameters

content
BinaryContent

The content to send as the body of the request.

foundryFeatures
String

A feature flag opt-in required when using preview operations or modifying persisted preview resources.

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

content is null.

Service returned a non-success status code.

Applies to