import Image from 'next/image' import { useParams } from 'common' import { Markdown } from 'components/interfaces/Markdown' import { BASE_PATH } from 'lib/constants' import { detectOS } from 'lib/helpers' export const FunctionsAssistantPreview = () => { const os = detectOS() const { ref } = useParams() return (
We're providing an additional alternative UX to creating database functions through the dashboard with the integration of our AI Assistant that you might have seen in the Auth Policies section.
This preview also shares an improved Assistant interface where you may provide the Assistant with contexts in hopes to generate more relevant and higher quality outputs. Contexts that you may provide include specific schemas, and / or specific tables from your database.
We'd hope to use this as a consistent pattern throughout the dashboard eventually if this feature preview proves itself to benefit most of our users, so as usual please do feel free to let us know what you think if the attached GitHub discussion above!
Enabling this preview will: