QuestionQ58

VerifiedSnowflake Gen AI & LLM Functions

A Gen AI Specialist is developing a Streamlit chatbot that uses snowflake.cortex.complete to answer user questions with this script:

Question Image

Which parameter should be added to the script so responses display incrementally in small chunks as they are generated?

Explanation

For snowflake.cortex.complete, setting stream=True enables streaming and returns incremental text updates as they are received.

Learn more

Community Discussion

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