Standard ai_extract mode now delivers higher quality and speed
The default mode for the ai_extract function in Databricks now uses a new model checkpoint that is 2.3x faster with better quality at no extra cost.
O que mudou
Use cases
Imagine you need to extract structured data from invoices, contracts, and financial documents at scale using SQL. With the updated default mode for ai_extract, you can:
- Process documents faster.
- Achieve higher extraction quality.
- Keep costs flat while using the updated model checkpoint.
How to use
Run the ai_extract function passing the text content and your desired schema in a SQL query.
SELECT ai_extract(
'Invoice #12345 from Acme Corp for $1,250.00 dated 2024-01-15',
'["invoice_id", "vendor_name", "total_amount", "invoice_date"]',
options => map('version', '2.1')
);
What happens in this code:
- The invoice text is provided as the first argument.
- A simple JSON schema defines the fields to extract.
- The version option specifies the recommended interface version.
Limitations and requirements
- Available in Databricks SQL and Databricks Runtime.
- Requires Databricks Runtime 15.4 LTS or above (18.2 recommended).
- Not available on Databricks SQL Classic.
- databricks sql
- ai_extract
- generative ai
- ai functions
Standard ai_extract now delivers higher-quality extraction
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
- DatabricksGA
Repositórios de pacotes em nível de workspace para Databricks Apps
Administradores de workspace podem configurar repositórios padrão de pacotes Python e npm para Databricks Apps.
databricks apps · workspace settings - DatabricksGA
Redimensione partições de stateful streaming sem perder o checkpoint no Databricks
Agora é possível alterar o número de partições de shuffle em queries Structured Streaming e pipelines Lakeflow sem descartar o estado do checkpoint.
structured streaming · lakeflow - DatabricksAtualização
Google Gemini 4 Argon disponível no Unity Gateway do Databricks
O modelo multimodal Google Gemini 4 Argon já pode ser acessado via Foundation Model APIs e Unity Gateway.
unity catalog · foundation model apis