Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pgvector example to use Vercel AI SDK #916

Closed
wants to merge 3 commits into from

Conversation

nicoalbanese
Copy link

Description

This PR updates the Postgres pgvector example to use the new Vercel AI SDK embed function rather than the OpenAI SDK.

Type of Change

  • New Example
  • Example updates (Bug fixes, new features, etc.)
  • Other (changes to the codebase, but not to examples)

Copy link

vercel bot commented May 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
alt-tag-generator ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
app-dir-css-in-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
app-dir-i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
app-dir-share-state ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
blob-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
blob-sveltekit ❌ Failed (Inspect) May 15, 2024 11:32am
edge-ab-testing-google-optimize ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-ab-testing-statsig ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-ab-testing-simple ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-add-header ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-api-rate-limit ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-api-rate-limit-and-tokens ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-basic-auth-password ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-bot-protection-botd ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-bot-protection-datadome ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-cookies ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-cors ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-crypto ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-feature-flag-configcat ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-feature-flag-posthog ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-feature-flag-split ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-geolocation ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-hostname-rewrites ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-image-response ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-ip-blocking ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-ip-blocking-datadome ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-json-response ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-jwt-authentication ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-news ❌ Failed (Inspect) May 15, 2024 11:32am
edge-functions-power-parity-pricing ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-power-parity-pricing-strategies ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-query-params-filter ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-redirects-upstash ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-functions-streams ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-geolocation-country-block ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-maintenance-page ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-middleware-modify-request-header ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-rewrites-upstash ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
edge-user-agent-based-rendering ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
example-auth-with-ory ❌ Failed (Inspect) May 15, 2024 11:32am
example-feature-flag-apple-store ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
example-reduce-image-bandwidth-usage ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
examples ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
feature-flag-hypertune ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
feature-flag-launchdarkly ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
feature-flag-optimizely ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
geolocation-script ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
kv-redis-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
mint-nft ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
next-edge-api-route-hello-world ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
next-flask ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
nodejs-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
postgres-drizzle ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
postgres-kysely ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
postgres-pgvector ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
postgres-prisma ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
postgres-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
redirect-with-fallback ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
redirects-bloom-filter ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-cms-contentstack-commerce ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-combining-data-fetching-strategies ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-image-fallback ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-image-offset ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-loading-web-fonts ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-on-demand-isr ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-pagination-with-ssg ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-parallel-routes-navbar ❌ Failed (Inspect) May 15, 2024 11:32am
solutions-reuse-responses ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-script-component-ad ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-script-component-strategies ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
solutions-subdomains-auth ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
toolbar-launchdarkly ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
toolbar-optimizely ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
toolbar-split ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
toolbar-statsig ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 11:32am
16 Ignored Deployments
Name Status Preview Comments Updated (UTC)
build-output-api-draft-mode ⬜️ Ignored (Inspect) May 15, 2024 11:32am
build-output-api-isr ⬜️ Ignored (Inspect) Visit Preview May 15, 2024 11:32am
build-output-api-overrides ⬜️ Ignored (Inspect) May 15, 2024 11:32am
build-output-api-prerender-functions ⬜️ Ignored (Inspect) May 15, 2024 11:32am
build-output-api-routes ⬜️ Ignored (Inspect) May 15, 2024 11:32am
build-output-api-serverless-functions ⬜️ Ignored (Inspect) May 15, 2024 11:32am
build-output-api-static-files ⬜️ Ignored (Inspect) May 15, 2024 11:32am
edge-api-routes-json-response ⬜️ Ignored (Inspect) May 15, 2024 11:32am
edge-api-routes-query-parameters ⬜️ Ignored (Inspect) May 15, 2024 11:32am
solutions-microfrontends ⬜️ Ignored (Inspect) Visit Preview May 15, 2024 11:32am
solutions-microfrontends-docs ⬜️ Ignored (Inspect) Visit Preview May 15, 2024 11:32am
solutions-monorepo ⬜️ Ignored (Inspect) Visit Preview May 15, 2024 11:32am
solutions-nx-monorepo ⬜️ Ignored (Inspect) May 15, 2024 11:32am
solutions-testing ⬜️ Ignored (Inspect) May 15, 2024 11:32am
wasm-rust-hello-world ⬜️ Ignored (Inspect) May 15, 2024 11:32am
wasm-rust-xor ⬜️ Ignored (Inspect) May 15, 2024 11:32am

@leerob
Copy link
Member

leerob commented May 22, 2024

Pushed some changes here, can we update? #918

@leerob leerob closed this May 25, 2024
leerob added a commit that referenced this pull request May 25, 2024
newcharmingdev7 pushed a commit to newcharmingdev7/e-com that referenced this pull request Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants