Skip to content

AI Fix Grammar

AI Fix Grammar is a transformation component that uses the Databricks ai_fix_grammar() function to invoke generative AI to correct grammatical errors found in text in your input table. This function uses a Databricks chat model serving endpoint made available by Databricks Foundation Model APIs.

The output is a string with correct grammar.

Note

Make sure you have read and understand the Requirements set out by Databricks before using this component.


Properties

Name = string

A human-readable name for the component.


Columns = dual listbox

Use the arrow buttons or use drag-and-drop to move columns to the right-hand listbox to fix any grammatical errors. A new column with corrections is created for each input column.


Include Input Columns = boolean

  • Yes: Includes both your input columns with grammatical errors and the new columns with corrections. This will also include those input columns not selected in Columns.
  • No: Only includes the new correction columns.

Snowflake Databricks Amazon Redshift