Snowflake Cortex AI Chat with File > Introduction to Snowflake Cortex AI Chat with File recipe
  

Introduction to Snowflake Cortex AI Chat with File recipe

The Snowflake Cortex AI Chat with File recipe is based on REST and SOAP APIs. You can ask questions to the Snowflake Cortex Large Language Model (LLM) based on the context of the uploaded file.
The recipe allows you to upload a file with context, provide a user prompt, read the file context, and answer the user's questions based on the file context using the Snowflake Cortex LLM.
You can upload files up to 100 MB in size, with a maximum of 300 pages per document. Documents must be encrypted on the server-side, and the font size must be 8 points or larger for optimal results.
You can upload files of the following formats:
.pdf, .pptx, .docx, .jpeg, .jpg, .png, .tiff, .tif
Note: If the uploaded file is empty or the question is not related to the file context, an error occurs.