The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(embeddings): github discussions slug
Greg Richardson66d61738f54d
diff --git a/apps/docs/scripts/search/sources/github-discussion.ts b/apps/docs/scripts/search/sources/github-discussion.tsindex 3280d84ce47..a87012a9780 100644--- a/apps/docs/scripts/search/sources/github-discussion.ts+++ b/apps/docs/scripts/search/sources/github-discussion.ts@@ -91,7 +91,7 @@ export class GitHubDiscussionSource extends BaseSource {// Currently the discussion post itself is being considered as the answer// (as opposed to a comment marked as answer)// So we link the slug to the initial discussion post rather than a comment answer- const slug = `#discussion-${databaseId}`+ const slug = `discussion-${databaseId}`// Format the discussion title + body as markdown for better embeddings + LLM responseconst content = `# ${title}\n${body}`