wink-wink-wink555/PsyChat

PsyChat 是一款基于范例引导与检索增强生成(RAG)技术的智能 AI 心理咨询助手,应用理性情绪行为疗法(REBT)帮助用户识别并调整非理性信念,缓解负面情绪。系统通过智能 Agent 自动决策动态调整回答策略,内置涵盖情绪管理、人际关系、职场压力、家庭婚恋等主题的专业心理知识库。

39
/ 100
Emerging

Built on FastAPI with ChromaDB vector storage and DeepSeek LLM, the system implements a ReAct-based query optimization loop that refines search terms through multi-round iterations before retrieval. Beyond standard RAG, it reconstructs complete dialogue contexts from chunked data (eliminating fragmentation issues) and performs explicit counselor speech pattern analysis across four dimensions (empathy methods, questioning strategies, pacing, language style) with topic-level caching to minimize LLM calls. The architecture enforces continuous dialogue monitoring—triggering forced retrieval after N consecutive turns without RAG—and generates responses through a structured four-layer prompt that combines full case examples, matched dialogue fragments, extracted speech patterns, and planned interaction strategies.

No Package No Dependents
Maintenance 10 / 25
Adoption 5 / 25
Maturity 9 / 25
Community 15 / 25

How are scores calculated?

Stars

14

Forks

5

Language

Python

License

MIT

Last pushed

Mar 04, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/vector-db/wink-wink-wink555/PsyChat"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.