Skip to main content

devverse-rag-chat

DevVerse chat, citation, and retrieval workflow. Use when modifying the chat page, the chat API route, citation parsing, local retrieval fallback, Pinecone or Gemini integration, or the article vectorization pipeline.

Quellinformationen

Repository
hoangsonww/DevVerse-SWE-Blog
Letzte Quellaktivität
28. Februar 2026 um 11:47
Erkannte Sprache von SKILL.md
Englisch
Sterne
15
Forks
13

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
devverse-rag-chat
description
DevVerse chat, citation, and retrieval workflow. Use when modifying the chat page, the chat API route, citation parsing, local retrieval fallback, Pinecone or Gemini integration, or the article vectorization pipeline.
user-invocable
false
# DevVerse RAG And Chat Workflow 1. Preserve the response contract between backend and UI. The UI expects an `answer` string, a `sources` array, bracket citations in the answer body, and a trailing `Sources:` section that it strips before rendering. 2. Keep citation parsing aligned with UI behavior. If you change citation formatting, update both `lib/chat-citations.ts` and the chat UI in the same task. 3. Preserve hybrid retrieval unless you are intentionally redesigning it. `lib/rag.ts` merges Pinecone results with the local lexical fallback from `lib/rag-local.ts`. 4. Read the detailed contract before changing retrieval, prompt format, or vector metadata. @references/rag-contract.md 5. Assume Pinecone vectors are stale after article or chunking changes until vectorization is rerun. 6. Validate chat changes with both tests and manual reasoning about runtime behavior. Use `devverse-validate` for the automated part, then note any live env checks you could not perform.
Auf GitHub ansehen