Commit Graph

50 Commits

Author SHA1 Message Date
Chris Chinchilla d8bd6b047c docs: Examples Key changes (#45170)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Updated examples and guides to use Supabase publishable (client) keys
instead of anon keys for client-side usage across frameworks and
platforms.
* Renamed environment variable examples and .env templates to reflect
publishable key naming.
* Adjusted sample requests and client-init examples to send/use the
publishable key via the apikey header where applicable.
* Updated references from service_role to secret for server-side
credential guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: fadymak <fady@fadymak.com>
2026-05-04 12:58:16 +02:00
Laurence Isla 08e9cdde5e docs: data api docs functions (#44412)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Replaces "stored procedures" with "functions" for everything related to
the Data API.

## Additional context

It's not accurate to call database functions "stored procedures". It may
have been that way before Postgres 11, but now it causes confusion
because PostgREST allows functions and not stored procedures.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Standardized terminology across docs, SDK guides, CLI/config specs,
examples, UI, and config comments to use "database functions" instead of
"stored procedures".
* Updated API docs, CLI/config descriptions, Studio UI labels, help
text, empty-state and navigation copy, RPC documentation, and example
text for consistency.
* Adjusted explanatory text and error/help messages to reflect the
revised terminology.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-04-21 11:54:27 +10:00
Ivan Vasilov d07e78a616 chore: Run prettier on examples folder (#43851)
This PR runs `prettier` on the `examples` folder.

Depends on https://github.com/supabase/supabase/pull/43849.
2026-03-18 10:51:10 +01:00
samrose 2487199526 fix: update deps to remove vuln in dependencies (#40328) 2025-11-11 15:44:34 -05:00
dependabot[bot] 8ea9469e68 chore(deps): bump transformers from 4.36.0 to 4.53.0 in /examples/ai/image_search (#37734)
chore(deps): bump transformers in /examples/ai/image_search

Bumps [transformers](https://github.com/huggingface/transformers) from 4.36.0 to 4.53.0.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.36.0...v4.53.0)

---
updated-dependencies:
- dependency-name: transformers
  dependency-version: 4.53.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
2025-08-06 20:59:49 +00:00
Danny White 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
Kanugula Shivashanker 0f4db5eed9 improve image search README with setup and usage examples (#36228)
improve image search README with setup and usage examples

Enhanced the AI image search example README with comprehensive documentation improvements.

## What
- Added Prerequisites section with system requirements
- Enhanced Setup section with step-by-step Supabase configuration  
- Added "What to expect" sections for better user guidance
- Included example search queries for testing
- Added troubleshooting section for common issues
- Explained how the CLIP model works in simple terms

## Why
The previous README was missing crucial setup steps, prerequisites, and expected outputs, making it difficult for developers to use this AI example effectively.

## How
- Maintained original formatting style and structure
- Added missing prerequisite information
- Provided clear step-by-step instructions
- Included practical examples and troubleshooting tips
2025-06-06 17:10:21 +00:00
Peter 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
Han Qiao b0abf4e580 chore: simplify config for edge functions (#30850)
* chore: simplify config for caching examples

* chore: simplify config for edge functions

* chore: upload example images to storage
2024-12-04 16:53:52 +08:00
Han Qiao 29e1b6c051 chore: simplify configs for the rest of ai examples (#30839)
* chore: simplify configs for the rest of ai examples

* chore: document how to update project config

* chore: link to config docs
2024-12-03 22:29:44 +08:00
Han Qiao 4348aa739c chore: simpler storage and ai config examples (#30781)
* chore: simpler storage config examples

* chore: simplify ai examples

* chore: simplify image search config
2024-12-02 19:19:35 +08:00
Thor 雷神 Schaeff 4f0a0b54a7 Edge Functions Llamafile example. (#28544)
* ef llamafile example.

* chore: add docs.

* chore: add blogpost.

* chore: spelling.

* chore: docs nit.

* chore: nits from review.

* chore: spelling  nits.

* Update apps/www/_blog/2024-08-21-mozilla-llamafile-in-supabase-edge-functions.mdx

* Update apps/www/_blog/2024-08-21-mozilla-llamafile-in-supabase-edge-functions.mdx
2024-08-21 20:35:58 +08:00
Thor 雷神 Schaeff 44b8986a5d chore: update poetry lock. (#27945) 2024-07-12 14:48:52 +08:00
Thor 雷神 Schaeff eff7ed3fe6 chore: downgrade for usage in sagemaker (#27944)
Update pyproject.toml
2024-07-12 11:41:21 +08: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
Thor 雷神 Schaeff dda1c05ebd docs: Debugging Edge Functions with Inspector (#27014)
* chore: update ai types.

* docs: start ef inspector docs.

* chore: break out into own page.

* chore: spelling.

* chore: chrome devtools only.
2024-06-06 17:21:36 +08:00
Thor 雷神 Schaeff 1a571a2368 docs: edgy bedrock. (#26909)
* docs: edgy bedrock.

* fix: nav.

* Apply suggestions from code review

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-01 22:28:39 +08:00
Thor 雷神 Schaeff ec3eaed498 feat: amazon bedrock edge functions example. (#26698)
* feat: amazon bedrock edge functions example.

* chore: track aws sdk issue.

* chore: mock file system for config files.

* chore: fix migration.
2024-05-28 13:12:42 +08:00
Thor 雷神 Schaeff b9d6280511 chore: import edge runtime types. (#22722)
* chore: import edge runtime types.

* chore: remove versions.

---------

Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>
2024-04-16 07:32:00 +00:00
Bobbie Soedirgo 5c062fcdb7 chore: Supabase AI types in examples (#22751) 2024-04-16 16:53:15 +10:00
Thor 雷神 Schaeff cba6b50cb8 chore: ai example updates (#22660)
* chore: update ef ai example.

* chore: move to seed.sql file.
2024-04-12 15:07:32 +08:00
Thor 雷神 Schaeff 7d9d5b3b02 chore: AI in EF start. (#22566)
* chore: AI in EF start.

* chore: complete demo.
2024-04-11 13:05:17 +08:00
Joshua Kim 69ad842814 Slight changes in how llama_index is now organized. (#22609)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-10 15:40:40 +00:00
Thor 雷神 Schaeff 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
Greg Richardson d42536b23e Docs: Update AI guides to reference pooler connection string (#20846)
docs(ai): update guides to reference pooler connection string
2024-01-29 13:44:23 -07:00
Clarence a5f9361dcc fixed typos in www/_customers/chatbase.mdx and /ai/vector_hello_world.ipynb (#19959)
* docs: fixed typo annualize -->  annualized

* docs: fixed typo incldues -->  includes
2023-12-22 10:58:09 +01:00
dependabot[bot] 32d0169a13 build(deps): bump transformers from 4.30.0 to 4.36.0 in /examples/ai/image_search (#19924)
build(deps): bump transformers in /examples/ai/image_search

Bumps [transformers](https://github.com/huggingface/transformers) from 4.30.0 to 4.36.0.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.30.0...v4.36.0)

---
updated-dependencies:
- dependency-name: transformers
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 12:09:20 +02:00
Jason R. Stevens, CFA 5886d06a70 Update llamaindex.ipynb doc_hash to hash (#18838)
* Update llamaindex.ipynb doc_hash to hash

Update `doc_hash` to `hash` since running this as-is provided an `AttributeError`. 

Here's what the Python build-in `vars` gives me (truncated):

```python
{'id_': 'd94b1287-b3ef-4aba-ac6b-7a4e353b0327',
 'embedding': None,
 'metadata': {},
 'excluded_embed_metadata_keys': [],
 'excluded_llm_metadata_keys': [],
 'relationships': {},
 'hash': '4c702b4df575421e1d1af4b1fd50511b226e0c9863dbfffeccb8b689b8448f35',...}
```

* fix: SimpleWebPageReader & StorageContext imports

* chore: revert python version change

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2023-11-17 11:41:52 -07:00
Oliver Rice 392b3fc460 docs: Update vecs references from create_collection to get_or_create_collection (#17707) 2023-11-14 22:26:12 +01:00
Gareth Jones 1d83665a9c fix vector example 2023-09-11 10:43:19 -07:00
levelingup 3270cda33c Update README.md
Misspelling
2023-08-29 20:46:27 -07:00
dependabot[bot] 661a4b597f Bump certifi from 2023.5.7 to 2023.7.22 in /examples/ai/image_search
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.5.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 11:35:55 +00:00
Greg Richardson 26be8af745 chore: change dashboard links to new url 2023-06-22 09:32:18 -06:00
dependabot[bot] c331921ce0 chore(deps): bump transformers in /examples/ai/image_search
Bumps [transformers](https://github.com/huggingface/transformers) from 4.29.2 to 4.30.0.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.29.2...v4.30.0)

---
updated-dependencies:
- dependency-name: transformers
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 21:50:34 +00:00
Greg Richardson 20ea63ffcd fix: llamaindex colab data fetching 2023-06-06 10:08:41 -06:00
Copple ca83ef085c Adds an example for llamaindex 2023-06-05 15:56:09 -06:00
awalias d9f314e6c7 chore: capitisation 2023-05-31 14:38:17 +01:00
awalias 3407749de0 chore: adds colab button to ipynb examples 2023-05-31 13:30:52 +01:00
awalias 183bc839ad feat: adds vector hello world to examples 2023-05-30 13:51:07 +01:00
Oliver Rice 07f41a1f99 hide warning 2023-05-29 13:54:56 -05:00
Oliver Rice 984c7b10ba dependency alignment 2023-05-29 12:51:01 -05:00
Oliver Rice d376e2e04b replace html with direct image render 2023-05-29 12:14:12 -05:00
Oliver Rice 34b8885f53 shrink images to avoid nbviewer row wrap 2023-05-29 11:44:15 -05:00
Oliver Rice e135adf66d github notebook rendering issue fix 2023-05-29 11:30:47 -05:00
Thor 雷神 Schaeff 97fc69ad57 Merge pull request #14651 from supabase/thor/supabase-vector-image-search-example
feat: add supabase vector image search example.
2023-05-30 00:15:58 +08:00
thorwebdev 4c0cd2e37b chore: review suggestions. 2023-05-30 00:06:40 +08:00
Oliver Rice 18689811d2 fix ci identified typos 2023-05-29 10:39:35 -05:00
Oliver Rice be1f4ea85e face similarity example, celebrity look alike 2023-05-29 10:33:27 -05:00
thorwebdev 068a99c7a2 feat: add supabase vector image search example. 2023-05-29 14:18:27 +08:00
Oliver Rice 22acb4166f vector example, semantic text deduplication 2023-05-26 16:39:44 -05:00