Skip to content

Relax chat prompt for RAG answers#77

Merged
suguanYang merged 1 commit into
stagingfrom
fix/wangbinqi/rag-chat-prompt
May 14, 2026
Merged

Relax chat prompt for RAG answers#77
suguanYang merged 1 commit into
stagingfrom
fix/wangbinqi/rag-chat-prompt

Conversation

@suguanYang
Copy link
Copy Markdown
Contributor

Summary

  • Relax the grounded chat prompt so retrieved excerpts are helpful context instead of the only allowed information.
  • Keep the prompt brief while preserving source citation and document-specific faithfulness rules.
  • Update prompt tests to cover the new RAG-style behavior.

Verification

  • pnpm test src/domains/chat/index.test.ts -- --runInBand
  • pnpm typecheck (passes with existing Effect advisory)
  • pnpm lint (passes with existing warnings)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
knowhere-notebook-staging Ready Ready Preview, Comment May 14, 2026 3:06am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
knowhere-notebook Ignored Ignored May 14, 2026 3:06am

Request Review

@suguanYang suguanYang merged commit 6f32c15 into staging May 14, 2026
7 checks passed
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