A Snowflake administrator is tasked with monitoring and optimizing costs for various Gen AI applications leveraging Snowflake Cortex LLM functions. They need to generate a report detailing token consumption for individual API calls to identify high-usage patterns and specific models. Which of the following Snowflake account usage views or methods would provide the most granular insights into prompt, completion, and guardrail token usage for Cortex LLM function calls?

A data processing team is using Snowflake Document AI to extract data from incoming supplier invoices. They observe that many documents are failing to process, and successful extractions are taking longer than expected, leading to increased costs. Upon investigation, they find error messages such as
. Additionally, their 'X-LARGE virtual warehouse is constantly active, contributing to higher-than-anticipated bills. Which two of the following actions are essential steps to troubleshoot and address the root causes of these processing errors and optimize their Document AI pipeline?
A data engineer is building an AI data pipeline to automatically extract specific sentiment categories from customer reviews using 'AI_COMPLETE. They want the output to be a structured JSON object containing 'food_quality', 'food_taste', 'wait_time', and 'food cost' with their respective sentiments (e.g., 'positive', 'negative', 'neutral'). The engineer aims for high accuracy and ensures that all these fields are present in the output. Which of the following statements correctly describe the approach to achieve this?
A data platform administrator needs to retrieve a consolidated overview of credit consumption for all Snowflake Cortex AI functions (e.g., LLM functions, Document AI, Cortex Search) across their entire account for the past week. They are interested in the aggregated daily credit usage rather than specific token counts per query. Which Snowflake account usage views should the administrator primarily leverage to gather this information?

A data engineer is designing an automated pipeline in Snowflake to process streaming customer support tickets using LLM functions. To ensure the pipeline is robust against unexpected LLM errors (e.g., due to malformed input or transient service issues), they decide to use SNOWFLAKE.CORTEX.TRY_COMPLETE instead of SNOWF LAKE .CORTEX.COMPLETE
. Which of the following is the most significant advantage of using
TRY_COMPLETE
in this scenario?

