diff --git a/apps/docs/components/Navigation/NavigationMenu/HomeMenuIconPicker.tsx b/apps/docs/components/Navigation/NavigationMenu/HomeMenuIconPicker.tsx index a2b9fa5251..c8384b5a27 100644 --- a/apps/docs/components/Navigation/NavigationMenu/HomeMenuIconPicker.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/HomeMenuIconPicker.tsx @@ -41,6 +41,8 @@ function getMenuIcon(menuKey: string, width: number = 16, height: number = 16) { return case 'storage': return + case 'ai': + return case 'platform': return case 'resources': diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts index 9652598fcb..48962f4ced 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts @@ -52,6 +52,12 @@ export const HOMEPAGE_MENU_ITEMS: HomepageMenuItems = [ href: '/guides/storage', level: 'storage', }, + { + label: 'AI & Vectors', + icon: 'ai', + href: '/guides/ai', + level: 'ai', + }, ], [ { @@ -858,6 +864,46 @@ export const storage: NavMenuConstant = { ], } +export const ai: NavMenuConstant = { + icon: 'ai', + title: 'AI & Vectors', + url: '/guides/ai', + items: [ + { name: 'Overview', url: '/guides/ai' }, + { name: 'Concepts', url: '/guides/ai/concepts' }, + { + name: 'Quickstarts', + url: undefined, + items: [{ name: 'Vecs for data scientists', url: '/guides/ai/vecs-for-data-scientists' }], + }, + { + name: 'Guides', + url: undefined, + items: [{ name: 'Creating collections', url: '/guides/ai/creating-collections' }], + }, + { + name: 'Examples', + url: undefined, + items: [ + { + name: 'Hugging Face inference with Edge Functions', + url: '/guides/ai/hugging-face-inference-edge-functions', + }, + ], + }, + { + name: 'Third-Party Tools', + url: undefined, + items: [ + { + name: 'LangChain', + url: '/guides/ai/langchain', + }, + ], + }, + ], +} + export const supabase_cli: NavMenuConstant = { icon: 'reference-cli', title: 'Supabase CLI', diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx index 2c5ad1a673..452eb69311 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx @@ -68,6 +68,11 @@ const menus: Menu[] = [ path: '/guides/storage', type: 'guide', }, + { + id: 'ai', + path: '/guides/ai', + type: 'guide', + }, { id: 'platform', path: '/guides/platform', diff --git a/apps/docs/layouts/SiteLayout.tsx b/apps/docs/layouts/SiteLayout.tsx index ff35c1af44..adc866288b 100644 --- a/apps/docs/layouts/SiteLayout.tsx +++ b/apps/docs/layouts/SiteLayout.tsx @@ -46,6 +46,10 @@ const levelsData = { icon: '/docs/img/icons/menu/storage', name: 'Storage', }, + ai: { + icon: '/docs/img/icons/menu/ai', + name: 'AI & Vectors', + }, supabase_cli: { icon: '/docs/img/icons/menu/reference-cli', name: 'Supabase CLI', diff --git a/apps/docs/pages/guides/ai.mdx b/apps/docs/pages/guides/ai.mdx new file mode 100644 index 0000000000..9bec896287 --- /dev/null +++ b/apps/docs/pages/guides/ai.mdx @@ -0,0 +1,23 @@ +import Layout from '~/layouts/DefaultGuideLayout' + +export const meta = { + id: 'ai', + title: 'AI & Vectors', + description: 'Use Supabase to store and search embedding vectors.', + sidebar_label: 'Overview', + video: 'https://www.youtube.com/v/J9mTPY8rIXE', +} + +Supabase AI & Vectors makes it simple to store and search embeding vectors. + +## TBD + +TBD + +## See also + +- TBD + +export const Page = ({ children }) => + +export default Page diff --git a/apps/docs/pages/guides/ai/concepts.mdx b/apps/docs/pages/guides/ai/concepts.mdx new file mode 100644 index 0000000000..18f1901351 --- /dev/null +++ b/apps/docs/pages/guides/ai/concepts.mdx @@ -0,0 +1,20 @@ +import Layout from '~/layouts/DefaultGuideLayout' + +export const meta = { + id: 'ai-concepts', + title: 'Concepts', + description: 'TBD', + sidebar_label: 'Concepts', +} + +This guide shows ... + +## TBD + +## See also + +- TBD + +export const Page = ({ children }) => + +export default Page diff --git a/apps/docs/pages/guides/ai/creating-collections.mdx b/apps/docs/pages/guides/ai/creating-collections.mdx new file mode 100644 index 0000000000..479ae9f2d3 --- /dev/null +++ b/apps/docs/pages/guides/ai/creating-collections.mdx @@ -0,0 +1,20 @@ +import Layout from '~/layouts/DefaultGuideLayout' + +export const meta = { + id: 'ai-collections', + title: 'Creating collections', + description: 'TBD', + sidebar_label: 'Creating collections', +} + +This guide shows ... + +## TBD + +## See also + +- TBD + +export const Page = ({ children }) => + +export default Page diff --git a/apps/docs/pages/guides/ai/hugging-face-inference-edge-functions.mdx b/apps/docs/pages/guides/ai/hugging-face-inference-edge-functions.mdx new file mode 100644 index 0000000000..3aed92a4d8 --- /dev/null +++ b/apps/docs/pages/guides/ai/hugging-face-inference-edge-functions.mdx @@ -0,0 +1,20 @@ +import Layout from '~/layouts/DefaultGuideLayout' + +export const meta = { + id: 'ai-hugging-face-inference-edge-functions', + title: 'Hugging Face inference with Edge Functions', + description: 'TBD', + sidebar_label: 'Hugging Face inference with Edge Functions', +} + +This guide shows ... + +## TBD + +## See also + +- TBD + +export const Page = ({ children }) => + +export default Page diff --git a/apps/docs/pages/guides/ai/langchain.mdx b/apps/docs/pages/guides/ai/langchain.mdx new file mode 100644 index 0000000000..edfe8c100c --- /dev/null +++ b/apps/docs/pages/guides/ai/langchain.mdx @@ -0,0 +1,20 @@ +import Layout from '~/layouts/DefaultGuideLayout' + +export const meta = { + id: 'ai-lang-chain', + title: 'Langchain', + description: 'TBD', + sidebar_label: 'Langchain', +} + +This guide shows ... + +## TBD + +## See also + +- TBD + +export const Page = ({ children }) => + +export default Page diff --git a/apps/docs/pages/guides/ai/vecs-for-data-scientists.mdx b/apps/docs/pages/guides/ai/vecs-for-data-scientists.mdx new file mode 100644 index 0000000000..ce1fdb92e9 --- /dev/null +++ b/apps/docs/pages/guides/ai/vecs-for-data-scientists.mdx @@ -0,0 +1,20 @@ +import Layout from '~/layouts/DefaultGuideLayout' + +export const meta = { + id: 'ai-vecs-for-data-scientists', + title: 'Vecs for data scientists', + description: 'TBD', + sidebar_label: 'Vecs for data scientists', +} + +This guide shows ... + +## TBD + +## See also + +- TBD + +export const Page = ({ children }) => + +export default Page