Skip to content
Lucas Lessa
Voltar para as notícias
SnowflakePublic PreviewImpacto: Médio

HTML generation in Snowflake CoWork in preview

Generate HTML files from your analysis directly within Snowflake CoWork, with inline viewing in the conversation.

O que mudou

Use cases

Imagine you need to quickly deliver visual reports based on AI-analyzed data. This feature allows you to ask Snowflake CoWork to generate HTML files from your analysis, similar to PDF or PowerPoint generation, with direct inline viewing in the chat.

  • Requesting formatted HTML pages generated directly from chat
  • Viewing the generated HTML file inline within the conversation

How to use

HTML generation requires the Cortex Agent code execution tool to be configured and enabled in the associated agent's specification.

tools:
  - tool_spec:
      type: code_execution
      name: code_execution
tool_resources:
  code_execution:
    permission_policy:
      type: always_ask

What happens in this code:

  1. Adds the code_execution tool type to the agent's tools section.
  2. Configures tool resources to set the permission policy to always_ask for user approval.

Limitations and requirements

  • Available in Public Preview.
  • Requires the Cortex Agent code execution tool to be enabled.
  • Agent calls using owner's rights do not support code execution; use caller's rights instead.
Ver nota oficial do Snowflake

HTML generation in Snowflake CoWork (Preview)

Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.

Relacionadas