Commit Graph
37 Commits
Author SHA1 Message Date
Stojan DimitrovskiandChris Chinchilla 93ba2a312c docs: indicate publishable key instead of anon in many examples (#37411)
* docs: indicate publishable key instead of anon in many examples

* replace your-anon-key to string indicating publishable or anon

* fix your_...

* apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update keys in code examples

* Prettier fix

* Update apps/docs/content/guides/functions/schedule-functions.mdx

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-18 13:47:48 +02:00
Danny WhiteandJoshen Lim d914b81f47 feat: consolidate settings (#37580)
* feat: move storage settings

* feat: redirect

* feat: database settings in service area

* feat: move data api settings

* fix: revert data API placement

* feat: minor UX touches

* fix: simplify configuration group

* feat: references to database settings

* feat: references to storage settings

* fix: redirects and formatting

* fix: Import StorageMenu dynamically to avoid SSR issues with useLocalStorage

* fix: move Data API closer to semantic siblings

* fix: revert smart comma

* Shift bucket sort logic into storage explorer store

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-04 16:21:54 +10:00
Carlos Manuel GonzalezandCharis Lam b27a7da097 Set security definer in queue_embeddings function (#35600)
* Update automatic-embeddings.mdx

Set `security definer` in `queue_embeddings` function

* add search_path

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-11 21:00:42 +00:00
Lakshan Perera 3c390c7891 chore: Use npm specifier instead of jsr for supabase-js imports (#36291)
chore: update examples to use npm specifier instead of jsr
2025-06-09 22:36:48 -04:00
PeterandTyler 6a812a04b6 Update docs for new connection strings and disk/compute pages in the dashboard (#35128)
* Update all docs that make references to the database settings to find the connection strings.

Update all docs that references the database settings for the compute and disk page

* run prettier

* run pnpm format instead of prettier directly.

* first run through, fix grammar and reword awkward sentences

* Fix typos and remove unnecessary whitespace

* Apply suggestions from code review

Co-authored-by: Tyler <dshukertjr@gmail.com>

---------

Co-authored-by: Tyler <dshukertjr@gmail.com>
2025-04-21 08:59:43 -05:00
Charis 2709fa4a3e feat: pre-compile-time partials (#34028)
Partials are currently defined via MDX includes. This PR switches to pre-compile-time partials, which have a new syntax:

```
<$Partial path="path/to/file.mdx" />
```

## Rationale

This produces two improvements:

1. Partial substitution can occur in pipelines that don't use MDX compilation. For example, we can now do partial substitution before building the search index, so partial content will also be indexed.
2. After the App Router migration, the MDXProviders should've been deprecated, but were kept around for the sole reason of making partials work, and leading to us shipping unnecessary client-side code. We get a minor decrease in overall client bundle size (5.74 MB to 5.6 MB) by getting rid of the Providers.

## Breaking changes

Besides the change to partial syntax, the arguments are also less powerful than before because we are doing string substitution and don't have the full power of JS. Defining string variables is still possible (documented in the Contributing guide), and since that's all we actually do in practice, this shouldn't be too cumbersome. There is always the escape hatch of making a custom component for more complex content reuse cases.
2025-03-18 10:37:39 -04:00
Charis a820c56ed0 chore: docs linting (#33574) 2025-02-21 14:13:00 -05:00
Greg Richardson ca91bedbe9 Docs: Automatic embedding updates (#33773)
* docs: add back dimension size to halfvec column

* docs: change headers back to lowercase
2025-02-21 11:30:23 -07:00
174b32470e Docs: Automatic embeddings (#33498)
* docs: automatic embeddings

* feat: add dashboard instructions to enable extensions

* feat: internal linking

* fix: response status and headers

* chore: add 'enqueues' to spelling lint

* chore: add 'matryoshka' to spelling lint

* fix: 'eg.' to 'e.g.'

* feat: pgmq links to dedicated queue docs

* fix: ignore heading for mdx lint

* docs: remove double word

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* docs: change 'reuse' to 'use'

Co-authored-by: Oliver Rice <github@oliverrice.com>

* docs: remove dimensions on halfvec column

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Oliver Rice <github@oliverrice.com>
2025-02-11 13:27:56 -07:00
Charis 2d55512553 chore: activate spelling and admonitions lints for docs (#33292) 2025-02-04 13:18:31 -05:00
Sadman Yasar Sayem c1322fd9de Update semantic-search.mdx - Fix Typo (#31203) 2024-12-17 23:26:19 +00:00
TheOtherBrian1 590294c4bf Update structured-unstructured.mdx (#31083) 2024-12-12 18:03:46 -05:00
Han Qiao 822cf92322 chore: update docs links to database migrations page (#30922) 2024-12-06 11:40:49 +08:00
Charis 78d0755008 docs(ci): expand linter scope (#30678)
Expand linter scope to cover `ai` directory as well.
2024-11-26 14:28:40 -05:00
LeonardandCharis f6f5bf8331 Update structured-unstructured.mdx (#29991)
* Update structured-unstructured.mdx

* Update apps/docs/content/guides/ai/structured-unstructured.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-29 16:34:24 +00:00
a8fc87f6f5 mixpeek multimodal embed integration (#29014)
* mixpeek embed PR

* fix: undo remove and nav.

* Apply suggestions from code review

* chore: format.

---------

Co-authored-by: thorwebdev <thor@supabase.io>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-09-04 07:57:03 +00:00
Charis 8313397aa7 fix(docs): duplicate heading ids (#28328) 2024-08-02 13:59:01 -04:00
Wen Bo Xieandegor ce42139560 fix: update gist-960 with the correct tab name (#28217)
* fix: update gist-960 with the correct tab name

* Apply suggestions from code review

---------

Co-authored-by: egor <58992960+egor-romanov@users.noreply.github.com>
2024-07-27 23:23:40 +00:00
Francesco Sansalvadore 1baf027fb1 chore: update pricing page / compute wording (#28017) 2024-07-19 15:39:11 +08:00
Francesco Sansalvadore efc5ee6ec4 global image component (#27410)
* global ui Image component

* migrate docs images to new global component

* use Image component in www mdx components

* update Image description

* remove redundant props

* better ZoomContent types

* remove ThemeImage

* remove ZommableImg component

* add use client to Image component
2024-07-03 13:02:13 +02:00
Thor 雷神 Schaeff 0dbb5e5225 docs: update deno deps to jsr. (#27766)
docs: update deno desp to jsr.
2024-07-03 18:06:55 +08:00
Olivier 6bf236cce2 Update hybrid-search.mdx fix column name on documents table, fixes #26364 (#26365)
* Update hybrid-search.mdx fix column name on documents table

The function uses `doc_vector` but table is setup with `embedding` so changed it to `doc_vector`

* Update col description in hybrid-search.mdx

* Update hybrid-search.mdx

back to `embedding` as col name
2024-05-22 18:36:28 +00:00
Greg Richardson b173ca0404 Docs: fix column name in match_documents example (#26494) 2024-05-21 08:34:09 -06:00
Wen Bo Xie db24eb2e90 fix: revert renaming vector to pgvector on the client (#25911)
* Revert "docs: rename vector to pgvector (#23308)"

This reverts commit c30d5f0b1f.

* Revert "docs: update vector reference to pgvector (#23305)"

This reverts commit b2bae1351c.

* Revert "Fix vector extension (#23386)"

This reverts commit 7341b30c27.

* Revert "Rename vector to pgvector on client side (#23286)"

This reverts commit b48b6e201b.

* docs: add note to pgvector docs that ext name is vector

* fix: add link to vector ext card
2024-05-09 21:19:02 -07:00
Greg Richardson c30d5f0b1f docs: rename vector to pgvector (#23308) 2024-04-26 21:52:51 -07:00
Wen Bo Xie b2bae1351c docs: update vector reference to pgvector (#23305) 2024-04-26 16:40:30 -07:00
Terry Sutton a5d00f9923 Chore/rename open ai key name (#21856)
* Rename OPENAI_KEY to OPENAI_API_KEY

* Force a redeploy
2024-04-25 09:38:56 -02:30
Liam BirkinandCharis 7ac0f0fcc6 fix: broken links & typo in docs (#23118)
* Fix typos in testing-and-linting.mdx

- Changed an to and
- Fixed a 404 link due to missing forward slash

* Fix typo in vector-columns.mdx

- Fixed 404 link due to missing forward slash

* Fix typo in vector-columns.mdx

- Fixed 404 link due to missing forward slash

* found a few more 404 links

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-22 14:32:20 +00:00
Thor 雷神 SchaeffandLakshan Perera 2a4c525cd2 docs: ai in ef docs guide (#22788)
* wip: add semantic search example

* chore: complete ef ai guide.

* chore: update ai docs.

---------

Co-authored-by: Lakshan Perera <lakshan@laktek.com>
2024-04-16 21:36:19 +08:00
Lakshan PereraandCharis ba6d4e8fdb chore: update generate emebddings quickstart to use native API (#22764)
* chore: update generate emebddings quickstart to use native API

* Update apps/docs/content/guides/ai/quickstarts/generate-text-embeddings.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/ai/quickstarts/generate-text-embeddings.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-15 21:00:45 +00:00
Charis 5d8cef6040 fix: update all examples and snippets to use select for auth rls func… (#22632)
fix: update all examples and snippets to use select for auth rls functions
2024-04-11 12:56:11 -04:00
280c26d23d feat: add amazon bedrock vecs example. (#21963)
* feat: add amazon bedrock vecs example.

* feat: add Amazon Bedrock guides.

* feat: add blogpost.

* chore: add video.

* Apply suggestions from code review

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* chore: update example.

* chore: updates from review.

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2024-03-26 18:13:18 +08:00
Lau Wei ChengandCharis ad9d827287 Update docs (#22166)
Update headless-vector-search.mdx

update Supabase embeddings generator GitHub action name

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-25 13:14:43 +00:00
Greg RichardsonandCharis d551209e46 Docs: semantic search (#22116)
* docs: semantic search

* docs(ai): add search links in overview

* docs: wording improvements

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* docs: more wording improvements

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-20 17:54:28 +00:00
Kunal GargandGreg Richardson a5ba3f96c5 docs: hybrid-search example for full_text subquery ordered correctly (#22052)
* docs: hybrid-search example for full_text subquery ordered correctly

* docs(hybrid-search): fix semantic row_number() order by

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2024-03-15 22:45:55 +00:00
c8d8e089b5 Docs: Hybrid search (#21955)
* docs: hybrid search

* fix: missing single quote in curl example

* fix: indent using spaces

* fix: link to reference docs

* fix: text spacing and line breaks

* docs: cap match_count to 30

Co-authored-by: Oliver Rice <github@oliverrice.com>

* docs: change 'in order to' to 'to'

* fix: change katex markup to double dollar sign

* docs: remove reference to reciprocal rank

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* docs: remove note on what search means in postgres

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-13 12:14:22 -06:00
Charis 42723d8232 refactor: move ai, realtime, functions, remaining auth docs to content directory (#21259) 2024-02-14 17:39:05 +00:00