wink-wink-wink555/PsyChat
PsyChat 是一款基于范例引导与检索增强生成(RAG)技术的智能 AI 心理咨询助手,应用理性情绪行为疗法(REBT)帮助用户识别并调整非理性信念,缓解负面情绪。系统通过智能 Agent 自动决策动态调整回答策略,内置涵盖情绪管理、人际关系、职场压力、家庭婚恋等主题的专业心理知识库。
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.
Stars
14
Forks
5
Language
Python
License
MIT
Category
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.
Higher-rated alternatives
ob-labs/ChatBot
ChatBot, show how to implement a RAG based on OceanBase or OceanBase seekdb AI capabilities...
pmbstyle/Alice
Alice is a voice-first desktop AI assistant application built with Vue.js, Vite, and Electron....
stackitcloud/rag-template
Template for AI chatbots & document management using Retrieval-Augmented Generation with vector...
GGyll/condo_gpt
An intelligent assistant for querying and analyzing real estate condo data in Miami.
rustyneuron01/Conversation-Genome-Project
Structured data & semantic tagging pipeline. Turns raw text (conversations, web pages, surveys)...