Edit Semantic Model - Generates a DAX expression for a calculated table based on the provided prompt

Generates a DAX (Data Analysis Expressions) query based on the provided prompt, using Azure OpenAI's GPT model.

post
Authorizations
HTTPRequired

Please enter a valid token

Path parameters
workspaceIdstringRequired
datasetIdstringRequired
Query parameters
versionstringOptional

The requested API version

Default: 1.0
Header parameters
embedfast-user-idstringOptional

Optional User Id

Body

Represents the request to generate a DAX query from a user prompt.

inputPromptstring · nullableOptional

The user-provided prompt to generate the DAX query.

interactionTypestring · nullableOptional

The type of interaction or context for generating the query, such as 'generate' or 'validate'.

userPromptstring · nullableOptional

The user prompt.

objectNamestring · nullableOptional

The name of the object being generated.

sourceTableNamestring · nullableOptional

The table name for measures and columns

Responses
chevron-right
200

Success: The DAX query was successfully generated based on the provided prompt.

Represents the response of a DAX generation or validation operation.

successbooleanOptional

Indicates whether the operation was successful.

messagestring · nullableOptional

A message providing additional information about the operation's result.

daxQuerystring · nullableOptional

The DAX query generated or validated.

recommendationsstring · nullableOptional

The DAX query enhancements or correction recommendations.

post
/workspace/{workspaceId}/dataset/{datasetId}/table/generateDax

Last updated