pwshub.com

Snowflake launches AI-powered Cortex Analyst query generator into public preview

Snowflake Inc. today announced the public preview of Cortex Analyst, a new tool that allows users to analyze records in its cloud data platform with natural language prompts.

Workers often consume business information in the form of dashboards. Typically, fixing an issue in a dashboard or carrying out an analysis that it doesn’t support out of the box requires users to request help from their company’s data science team. The process can take days depending on the complexity of the requested change.

According to Snowflake, Cortex Analyst is designed to help customers avoid such delays. Instead of waiting for the data science team to set up a new dashboard or modify an existing one, a business user can ask Cortex Analyst to carry out analyses. The tool automatically turns workers’ natural language instructions into SQL queries that can run on Snowflake. 

Customers have multiple ways of accessing Cortex Analyst. It’s available through Streamlit in Snowflake, a feature of the cloud data platform that provides a no-code interface for running queries. Snowflake is also making Cortex Analyst accessible through an application programming interface that will allow developers to integrate it into their software. 

Under the hood, Cortex Analyst is powered by large language models from Mistral AI SAS and Meta Platforms Inc.’s Llama series. Optionally, customers can also use OpenAI models deployed on Microsoft Azure. The process through which Cortex Analyst uses those LLMs to turn user prompts into queries comprises several steps.

First, the tool instructs each LLM to generate SQL code that can carry out the analysis requested by the user. Cortex Analyst then runs the LLM-generated queries through an automated debugging module dubbed the Error Correction Agent. The module can detect, among others, situations where an LLM attempts to query data using hallucinated commands that are not part of the SQL syntax.

Once all the code errors are fixed, Cortex Analysts inputs the LLM-generated queries into yet another software component called the Synthesizer Agent. This component distills the queries into a single code snippet that can carry out the analysis requested by the user. 

LLMs historically struggled to generate SQL code. According to Forrester Research Inc. data cited by Snowflake today, AI-generated SQL queries are accurate in 20% to 70% of cases depending on the complexity of the task they’re designed to perform. The company says that it built Cortex Analyst with those reliability challenges in mind. 

To avoid confusing the LLMs on which it relies to generate queries, Cortex Analyst uses relatively simple schemas. Schemas are the files that define how the dataset used in an analytics project is formatted.

For added measure, Snowflake configured Cortex Analyst to avoid processing user queries that may be too complicated for its LLMs. “Instead of producing incorrect results, it suggests alternative queries that can be confidently answered,” Snowflake engineers detailed in a blog post.

The company plans to follow up Cortex Analyst’s launch into public preview today with several feature enhancements. One update will add support for multi-turn chat interactions, while another will equip the tool with the ability to carry out more complex data processing tasks. Snowflake plans to roll out the new features in the coming quarter.

Source: siliconangle.com

Related stories
1 month ago - Regulators are circling ever closer to big tech companies — the latest being Google, which the Federal Trade Commission more than hinted this week should be broken up. It’s not at all certain that will happen, since it’s up to the judge...
2 days ago - Salesforce Inc. recently announced the launch of its new artificial intelligence autonomous agent platform Agentforce that can handle tasks for employees, and for enterprises to do this in a useful way, the AI agents need to connect to...
1 month ago - Vice President Kamala Harris’ presumed ascension to the Democratic presidential nomination following President Joe Biden’s withdrawal scrambled this week certainly scrambled the race, but it also set everyone in tech wondering what a...
1 month ago - Ahead of the annual Black Hat cybersecurity conference in Las Vegas, we warned that defensive tool sprawl is only likely to get worse. Onsite, the talk was about, of course, the impact of AI. So far, so good, but defenders are bracing for...
1 month ago - Amid a glut of funding for artificial intelligence companies, there’s understandably increasing concern among investors this past week, apparent in disappointment in the earnings results of a number of technology companies, whether all...
Other stories
27 minutes ago - Shares of Truth Social’s parent company fell Thursday, extending the latest round of declines for Trump Media & Technology Group.
1 hour ago - European Union officials are taking new steps to ensure that Apple Inc. complies with the bloc’s DMA tech industry regulation. The European Commission, the EU’s executive arm, announced the initiative today. The DMA is a piece of...
1 hour ago - Shares in automotive chip maker Mobileye Global Inc. jumped nearly 15% today after its majority shareholder, Intel Corp., said that it has no plans to divest its interest in the company. Reports earlier this month suggested that Intel...
1 hour ago - Cybersecurity risk management is becoming more critical than ever as industries adapt to an increasingly digital landscape. The rapid growth of artificial intelligence, combined with complex cyber threats, is pushing companies to rethink...
1 hour ago - Nike named a new CEO as Wall Street has questioned the company's plan to reinvigorate sales growth.