New package: @chatcops/store-upstash-vector
Los mantenedores suelen responder en 1 día
@srujankaleru2007 ya está trabajando en esto.
Desde el 27/10/2026.
- #385 de @srujankaleru2007 — abierto
Evaluación
Este issue todavía no se ha evaluado.
Descripción
@chatcops/core now has a VectorStore interface (#333). This adds a new package with a VectorStore backed by Upstash Vector, for serverless sites (Vercel, Netlify) that already use Upstash Redis through @chatcops/store-redis.
What every vector store needs
- Implement
VectorStorefrom@chatcops/core(packages/core/src/storage/types.ts):dimensions,upsert,query(cosine similarity, best first),deleteBySource, andkeywordQuerywhere the backend has full-text search. - Expose it as
vectorson the storage the package already returns, sorunStorageConformancepicks it up. Its vector section (inpackages/core/src/testing/conformance.ts) is the spec: run it from the package'stests/conformance.test.ts, with at least 4 dimensions. - Filters follow
MetadataFilter: every key must match, a value matches only the same type (1is not"1"), an array means any of its values, and a record without the key never matches. memoryVectors(packages/core/src/storage/memory-vectors.ts) is the reference implementation, andsegmentWordsthere splits text into words withIntl.Segmenter(use it so Japanese and Chinese keyword search works).- Add a short section for your store under "Vector stores" in
website/src/content/docs/server/storage.mdx, and a changeset for the package (minor).
For this package
- Start from
packages/store-redisfor the layout:package.json("private": truefor now,@upstash/vectoras a peer dependency),tsconfig.json,vitest.config.ts,README.md,CHANGELOG.md. The rootvitest.config.tsandpnpm-workspace.yamlpick up new packages underpackages/on their own. - Export
upstashVectors({ index, dimensions })returning aVectorStore, whereindexis an@upstash/vectorIndex. - Upstash filters are a string syntax (
locale = 'de' AND collection IN ('docs', 'pricing')). Build it fromMetadataFilterwith proper quoting, so a value can't change the filter. keywordQueryonly if the index type supports full-text (hybrid or sparse indexes). Otherwise leave it out.- There's no local Upstash Vector emulator, so: unit tests with a fake
Indexfor the logic (filter building, mapping, deletes), and the conformance suite gated onCHATCOPS_TEST_UPSTASH_VECTOR_URLandCHATCOPS_TEST_UPSTASH_VECTOR_TOKEN, skipped without them. Upstash has a free tier if you'd like to run it yourself.
Acceptance criteria
- New package builds, type-checks and passes its tests in CI
- Conformance passes against a real index when the env variables are set (say in the PR whether you ran it)
- Filter strings are quoted safely, with a test for a value containing a quote
- README, a docs section and a changeset
-
pnpm test:coverageandpnpm lintpass
- Lenguaje dominante
- TypeScript
- Estrellas
- 13
- Forks
- 7
- Merge medio
- 3 h 11 min
- PR fusionados (30 d)
- 330
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codercops/chatcops
-
Ingest: a crawl source for sites without a sitemapPosiblemente ocupada @bhushan4work la tomó hace 1 día. Abiertoenhancement
codercops/chatcops#586 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
fix(core): Cohere and Voyage rerankers bypass non-positive limit check on NaN topN and send invalid null payloadPosiblemente ocupada @bhushan4work la tomó hace 3 días. Abiertobug core
codercops/chatcops#582 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Widget: a code block tagged `c++`, `c#` or `objective-c` shows part of the tag as codePosiblemente ocupada @prakashNalla la tomó hace 3 días. Abiertobug widget
codercops/chatcops#578 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Docs: Astro, Nuxt and SvelteKit guides for the serverPosiblemente ocupada @anurag2787 la tomó hace 3 días. Abiertodocumentation
codercops/chatcops#575 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Server: chatcopsNext(), one catch-all route for Next.jsPosiblemente ocupada @Saifjafri212213 la tomó hace 3 días. Abiertoenhancement server
codercops/chatcops#574 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de codercops/chatcops
Issues similares
-
Cleanup SetupPosiblemente ocupada @AlexanderKaran la tomó hoy. Abiertodocumentation enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
e18e/framework-tracker#769 ·
Los mantenedores suelen responder en 1 día
-
fix(docker): correct stale --db-path comments in fetch/git Dockerfiles and clarify git READMEAbiertobug v2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
modelcontextprotocol/servers#5483 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
XiaomiMiMo/MiMo-Code#2783 ·
Los mantenedores suelen responder en 1 día
-
area: web bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
kinqsradio/orbyn-engineering#227 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
joeldesante/TurfBuilder#258 ·
Los mantenedores suelen responder en 1 día