PsyChat — DeepSeek AI Agent
    Neura MarketNeura Market/DeepSeek
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityTrending
    DeepSeekAgentsPsyChat
    Back to Agents
    PsyChat

    PsyChat

    wink-wink-wink555 December 1, 2025
    16 copies 0 downloads

    PsyChat 是一款基于范例引导与Agentic RAG的智能 AI 心理咨询助手,基于高度匹配的Few-shot Learning与学习笔记,应用理性情绪行为疗法(REBT)帮助用户识别并调整非理性信念,缓解负面情绪。

    <p align="center"> <h1 align="center">💝 PsyChat</h1> <p align="center"> <strong>基于 Agentic RAG 的智能心理咨询伴侣</strong> </p> <p align="center"> 基于范例模仿真实心理咨询师的话语模式,为用户提供专业的心理健康支持 </p> </p> <p align="center"> <img src="https://img.shields.io/badge/Python-3.8+-blue.svg" alt="Python"> <img src="https://img.shields.io/badge/Framework-FastAPI-green.svg" alt="FastAPI"> <img src="https://img.shields.io/badge/VectorDB-ChromaDB-orange.svg" alt="ChromaDB"> <img src="https://img.shields.io/badge/LLM-DeepSeek-purple.svg" alt="DeepSeek"> <img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License"> </p>

    ✨ 项目简介

    PsyChat 是一个基于检索增强生成(RAG)技术的心理咨询 AI 助手。其核心目标是最大程度地蒸馏真实心理咨询师的说话方式——不只是复用知识库中的内容,而是主动分析、学习专业咨询师在共情、提问、引导节奏上的共性模式,并将其迁移到每一轮对话中。

    系统运用理情行为疗法(REBT)理论框架,结合多阶段 Agent 工作流,帮助用户识别和调整非理性信念,缓解负面情绪。

    🌟 核心特性

    • 🧠 ReAct 查询优化:轻检索获取锚点 → 分析匹配度 → 改写或直接检索,动态提升检索准确性
    • 📖 完整对话上下文扩展:突破 chunk 片段限制,回溯完整咨询案例,让模型看到咨询师的完整工作节奏
    • 🎯 咨询师话术分析:主动提炼参考案例中咨询师的共情方式、提问策略、引导节奏和语言特点,作为显式约束指导回答
    • 💡 交互策略规划:回答前先判断对话所处阶段,规划下一步引导方向,而非被动应答
    • 🔄 对话持续监控:连续多轮无 RAG 时自动触发强制检索,保持专业性
    • 🎤 语音合成播放:基于阿里云百炼 TTS,将回答转换为温暖的语音

    🏗️ 系统架构

    <details> <summary><strong>整体工作流流程图 <em>(点击展开查看)</em></strong></summary>
    graph TD
        A[用户输入] --> B[Psychology Agent 决策层]
    
        B --> C{RAG判断 + 主题分类\n单次LLM调用}
    
        C -->|不需要检索| D[对话持续监控\n连续N轮无RAG?]
        D -->|未超限| E[直接回答\nREBT提示词]
        D -->|已超限| F[🚨 强制触发RAG]
    
        C -->|需要检索| G[ReAct 查询优化循环\n最多3轮]
        F --> G
    
        G --> G1[Observation: 轻检索获取锚点 top3]
        G1 --> G2[Thought+Action: 分析锚点质量]
        G2 -->|FINISH| H[使用当前查询词]
        G2 -->|REWRITE| G1
    
        H --> I[多查询词向量检索\nChromaDB]
    
        I --> J{找到相关文档?}
        J -->|未找到| E
        J -->|找到| K[上下文扩展\n纯I/O 无LLM]
    
        K --> K1[通过chunk锚点\n回溯原始完整对话]
        K1 --> L[咨询师话术分析\n带主题缓存]
    
        L --> L1{缓存命中?}
        L1 -->|命中| M[复用话术分析结果\n0次LLM]
        L1 -->|未命中| L2[LLM分析4维度话术共性\n1次LLM]
        L2 --> M
    
        M --
    

    Tags

    ai-assistantchromadbdeepseekfastapillmmental-healthpsychologyragrebtvector-database

    Comments

    More Agents

    View all
    Klaatcodeagentic-ai

    Klaatcode

    Open-source AI coding agent for the terminal. Claude Code-grade accuracy with smart model routing — uses the right AI model for each task, cutting costs 10x. Supports Claude, GPT, Gemini, DeepSeek & more.

    K
    KlaatAI
    139
    Agentmakeragent

    Agentmaker

    A general-purpose Python framework for building LLM agents and multi-agent systems. "Four lines of code, an agent with memory."

    X
    xinhuangcs
    74
    Api Model Playground Cookbookai-api

    Api Model Playground Cookbook

    Ultimate LLM API Integration Cookbook 2026 for Cursor & AI Agents

    0
    09omerdgn-droid
    150
    Agent Ecologiesagent-framework

    Agent Ecologies

    Ultimate Multi-Agent OS for Autonomous AI NPCs 2026

    I
    israriqbal
    153
    Private Agent

    Private Agent

    PrivateAgent is an open-source Android automation agent built with Flutter. It utilizes the DeepSeek API and native Android Accessibility Services to interpret screen layouts and execute multi-step tasks across any installed application via natural language commands.

    O
    orailnoor
    123
    Loom Novel

    Loom Novel

    把一队分工 Agent 织成一条写小说的流水线,做成桌面客户端;写作指纹让它越写越像你(BYO DeepSeek key,纯本地)。

    W
    WadeZhao23
    184

    Stay up to date

    Get the latest DeepSeek prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for DeepSeek and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this DeepSeek resource

    • Generate Personalized Language Learning News Digests with LLaMA-3.1 & DeepSeek AIn8n · $9.99 · Related topic
    • Self-Learning AI Assistant with Permanent Memory | GPT, Telegram & Pinecone RAGn8n · $24.99 · Related topic
    • Generate AI Videos from Scripts with DeepSeek, Synthesia, and Together.ain8n · $24.99 · Related topic
    • Compare Multi-Period Financial Data from Google Sheets with DeepSeek AI Analysisn8n · $14.99 · Related topic
    Browse all workflows