Step 4. Invoke the process
When you invoke the Chat with File using Snowflake Cortex AI process, the user sees the answer matching the context that was used in the LLM request.
You must pass the following input parameters:
- •Stage Path: Name of the Snowflake stage. The stage must be created externally in advance before invoking the process.
- •Document Name: Name of the document available in the Snowflake stage. The document must be added to the stage before invoking the process.
- •Prompt: The user’s question related to the context of the document.
You can run the process using one of the following options:
- •Run Using by passing the input parameters
- •REST or SOAP API endpoints in any API client such as cURL, Postman, SOAP UI, or any programming language
- •Web browser by passing the input parameters
The following image shows the sample input parameters that you can pass using Postman and the response.
