QuestionQ23

VerifiedSnowflake Document AI

Review the following query:

SELECT DEMO_DB.DEMO_SCHEMA.EXM_DOC_AI_BUILD!PREDICT(  
  GET_PRESIGNED_URL(@<stage_name>, '<relative_file_path>'), 9  
);  

What output will it produce?

Explanation

Document AI model inference using model_build_name!PREDICT returns a JSON result containing extracted fields, confidence scores, and document metadata, which is semi-structured data. A named stage created without an external URL is an internal Snowflake stage, and the numeric second argument selects the Document AI model version.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!