Skip to content

AI Assistant Deprecated

AI Assistant is a chat-based AI that generates and corrects SQL, creates charts, and answers questions about how to use Codatum, based on natural language instructions.

New provisioning of AI Assistant has ended. Its successor is AI agent. If you're using AI Assistant, follow this page for procedures and specifications. If you're using the AI agent, see AI agent.

WARNING

This feature is deprecated and will be removed in a future release.

Key features

Sending data to the LLM

Only external LLM services that contractually guarantee your input data won't be used for training are used. If you want to use your own API key, you can configure this under Custom in AI profile.

AI Assistant might send SQL, the schema of referenced tables, and the messages you enter to the LLM service. Check your organization's AI usage policy before using this feature.

Availability

If you're using AI Assistant, the following are required.

  • Write permission on the notebook.
  • AI features overall and AI Assistant enabled under AI feature settings in workspace settings.

Enabling it

Enabling AI features requires Workspace Owner permission.

  1. Open global nav > Workspace settings > AI feature settings.
  2. Turn on AI features overall using the switch at the top of the screen.
  3. Turn on AI Assistant under Available AI features.

You can also individually enable the following features on the same screen.

FeatureDescription
AI AssistantA chat-based AI that creates SQL and charts and also answers questions
AI code completionProvides inline SQL completion within a SQL block
AI name suggestionAutomatically suggests names for SQL and charts

If you're using the AI agent, the same switch is labeled AI Agent. For setup steps, see Enabling the AI agent.

Opening it

You can open it in any of the following ways.

  1. Open AI Assistant at the bottom of global nav. If it isn't enabled, go to the enablement screen from Enable AI Assistant.
  2. Use the AI Assistant shortcut (⌘+L / Ctrl+L by default; see Keyboard shortcuts).
  3. On a doc page, type / and select AI Analyst.
  4. From the menu at the top right of a SQL block, select Open with this SQL, or Performance optimization / SQL refactoring.
  5. Select Fix with AI on a SQL block that has an error.
  6. Start a how-to session from AI support in the help menu.
  7. Select Summarize, Revise and Refine, or Translate to from the menu shown when you select text.

Roles

You can switch between the following roles in the chat screen.

RoleDescription
AI AnalystAssists with generating and correcting SQL and charts
AI SupportAnswers questions about how to use Codatum and provides guidance on its features

Display modes

You can switch the display from the header.

DisplayDescription
Dock sidebarPins it to the edge of the screen
FloatDisplays it floating on screen, and you can move it
FullscreenShows the chat in a larger view

Sessions

You can perform the following actions from the header.

ActionDescription
Start new sessionStarts a new session
Session historyLists recent sessions and lets you switch between them

In the chat input field, you can configure the following.

ItemDescription
Response languageThe Assistant's response language
ConnectionIn AI Analyst mode, the connection the response assumes (this determines the SQL syntax assumed)

Sending a message uses Request. From the input field, you can pass context with Add notebook SQL / Add table metadata.

Notebook integration

While you have a notebook's doc page open, you can apply SQL or charts generated by AI Assistant to the notebook.

  • Drag the generated SQL, or select Apply, to reflect it in the original SQL block.
  • For charts too, you can Apply to the source chart or drag it onto a notebook page.
  • From a SQL block, you can start a session that includes the target SQL using Open with this SQL, Fix with AI on an error, and similar.

AI Assistant presents suggestions in the chat, and you apply them to the notebook yourself using Apply and similar. For autonomous notebook editing, see Agent mode in AI agent.

Relationship with the AI agent

ItemAI AssistantAI agent
AvailabilityDeprecated. New provisioning has been discontinuedBeta. An optional feature
How work proceedsSuggests in chat; you apply the changesProceeds autonomously with analysis, notebook editing, and more
ContextAdding SQL/tables to a message, and similar@ mentions, agent context, AI profile, and more
Model and permission settingsWorkspace AI feature settingsAI profile

For details on the successor feature, see AI agent.