The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: update docs.
thorwebdev81cce7a62981
diff --git a/apps/docs/pages/guides/ai/langchain.mdx b/apps/docs/pages/guides/ai/langchain.mdxindex 3f66da36b3e..fa8320819a2 100644--- a/apps/docs/pages/guides/ai/langchain.mdx+++ b/apps/docs/pages/guides/ai/langchain.mdx@@ -1,4 +1,6 @@import Layout from '~/layouts/DefaultGuideLayout'+import { Tabs } from 'ui'+export const TabPanel = Tabs.Panelexport const meta = {id: 'ai-lang-chain',@@ -14,6 +16,21 @@ export const meta = {Prepare you database with the relevant tables:+<Tabs+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="dashboard"+>+<TabPanel id="dashboard" label="Dashboard">++1. Go to the [SQL Editor](https://supabase.com/dashboard/project/_/sql) page in the Dashboard.+2. Click **LangChain** in the Quick start section.+3. Click **Run**.++</TabPanel>+<TabPanel id="sql" label="SQL">+```sql-- Enable the pgvector extension to work with embedding vectorscreate extension vector;@@ -55,6 +72,9 @@ end;$$;```+</TabPanel>+</Tabs>+## UsageYou can now search your documents using any Node.js application. This is intended to be run on a secure server route.