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

[MASTRA-1974] PG Vector Index Update #1971

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from
Draft

[MASTRA-1974] PG Vector Index Update #1971

wants to merge 37 commits into from

Conversation

NikAiyer
Copy link
Collaborator

@NikAiyer NikAiyer commented Feb 20, 2025

This PR does the following:

  • adds index rebuilding for ivfflat indexes in order to handle optimization
  • adds testing suite to compare different dimensions, sizes and k values to determine recall, latency and clustering
  • adds support for other pg index types

Copy link

changeset-bot bot commented Feb 20, 2025

🦋 Changeset detected

Latest commit: 529d2fb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@mastra/pg Patch
docs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Feb 20, 2025

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

Name Status Preview Comments Updated (UTC)
assistant-ui ❌ Failed (Inspect) Feb 24, 2025 7:52pm
bird-checker ❌ Failed (Inspect) Feb 24, 2025 7:52pm
crypto-chatbot ❌ Failed (Inspect) Feb 24, 2025 7:52pm
mastra ❌ Failed (Inspect) Feb 24, 2025 7:52pm
mastra-docs ❌ Failed (Inspect) Feb 24, 2025 7:52pm
openapi-spec-writer ❌ Failed (Inspect) Feb 24, 2025 7:52pm
travel-ai ❌ Failed (Inspect) Feb 24, 2025 7:52pm

Copy link

promptless bot commented Feb 20, 2025

📝 Documentation updates detected! You can review documentation updates here

@vercel vercel bot temporarily deployed to Preview – mastra-docs February 24, 2025 18:52 Inactive
@vercel vercel bot temporarily deployed to Preview – bird-checker February 24, 2025 18:52 Inactive
@vercel vercel bot temporarily deployed to Preview – openapi-spec-writer February 24, 2025 18:52 Inactive
Copy link

socket-security bot commented Feb 24, 2025

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@codemirror/[email protected] Transitive: environment +7 2.34 MB marijn
npm/@dagrejs/[email protected] None +1 489 kB davidnewell
npm/@datastax/[email protected] eval, network 0 502 kB toptobes
npm/@deepgram/[email protected] environment, network +2 1.24 MB deepgramai
npm/@eslint/[email protected] filesystem, unsafe Transitive: environment +1 723 kB eslintbot
npm/@google-cloud/[email protected] environment 0 2.97 MB google-wombot
npm/@hey-api/[email protected] None 0 118 kB mrlubos
npm/@hono/[email protected] network 0 172 kB yusukebe
npm/@hono/[email protected] None 0 21.1 kB yusukebe
npm/@hookform/[email protected] None 0 711 kB bluebill1049, jorisre, kotarella1110
npm/@inquirer/[email protected] None +13 360 kB sboudrias
npm/@jest/[email protected] None +5 91.5 kB simenb
npm/@lezer/[email protected] None +1 338 kB marijn
npm/@libsql/[email protected] Transitive: environment, network +5 630 kB penberg
npm/@llamaindex/[email protected] Transitive: environment, eval +1 3.16 MB himself_65
npm/@llamaindex/[email protected] environment 0 1.48 MB himself_65
npm/@mastra/[email protected] None 0 278 kB wardpeet
npm/@microsoft/[email protected] Transitive: filesystem +3 5.72 MB odspnpm
npm/@modelcontextprotocol/[email protected] None 0 3.35 MB jspahrsummers
npm/@neon-rs/[email protected] None 0 10.7 kB dherman
npm/@opentelemetry/[email protected] environment Transitive: filesystem, network, unsafe +51 10.8 MB dyladan
npm/@opentelemetry/[email protected] environment, unsafe +1 7.16 MB dyladan
npm/@opentelemetry/[email protected] Transitive: environment, filesystem, network, shell, unsafe +9 17.2 MB dyladan
npm/@opentelemetry/[email protected] None +1 634 kB bogdandrutu, dyladan, pichlermarc
npm/@opentelemetry/[email protected] None 0 529 kB bogdandrutu, dyladan, pichlermarc
npm/@opentelemetry/[email protected] None +2 7.2 MB bogdandrutu, dyladan, pichlermarc
npm/@opentelemetry/[email protected] environment, filesystem, shell +1 6.8 MB dyladan
npm/@opentelemetry/[email protected] None 0 1.96 MB dyladan
npm/@opentelemetry/[email protected] environment Transitive: filesystem, network, shell, unsafe +24 21 MB dyladan
npm/@opentelemetry/[email protected] None +1 7.04 MB dyladan
npm/@opentelemetry/[email protected] Transitive: unsafe +3 321 kB dyladan
npm/@opentelemetry/[email protected] None 0 6.97 MB bogdandrutu, dyladan, pichlermarc
npm/@paralleldrive/[email protected] None +1 1.11 MB ericelliott
npm/@pinecone-database/[email protected] environment, network 0 1.31 MB pinecone-ops
npm/@qdrant/[email protected] Transitive: network +1 3.88 MB qdrant-tech
npm/@radix-ui/[email protected] None +1 93.6 kB chancestrickland
npm/@radix-ui/[email protected] None +4 139 kB chancestrickland
npm/@radix-ui/[email protected] None +4 92.6 kB chancestrickland
npm/@radix-ui/[email protected] None +3 87.5 kB andy-hook, benoitgrelard, chancestrickland, ...3 more
npm/@radix-ui/[email protected] None +8 235 kB chancestrickland
npm/@radix-ui/[email protected] None +5 160 kB chancestrickland

🚮 Removed packages: npm/@radix-ui/[email protected], npm/@rollup/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

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.

1 participant