---
secrets:
license: apache-2.0
datasets:
- EmoCareAI/Psych8k
- DAMO-NLP-SG/multimodal_textbook
- PowerInfer/QWQ-LONGCOT-500K
- Genius-Society/xmu_psych_books
- marcelbinz/Psych-101
- Psychotherapy-LLM/CBT-Bench
- StephanAkkerman/MRC-psycholinguistic-database
- jkhedri/psychology-dataset
- samhog/psychology-10k
- RaviSheel04/Psychology-Data2
- RaviSheel04/Psychology-Data
- burgerbee/psychology_textbook
- wj2015/psychology-10k-zh
- wassimm/psychology_dataset_10k_with-prompts
- parsi-ai-nlpclass/Psychology_RAG
- BAAI/IndustryCorpus2_medicine_health_psychology_traditional_chinese_medicine
- BoltMonkey/psychology-question-answer
- Parth-Panchal-284/langdata
- ZANIT/NFSMW
- SEACrowd/lti_langid_corpus
- sentence-transformers/msmarco-distilbert-margin-mse-cls-dot-v2
- Parth1612/pp_distilbert_ft_tweet_irony
- lsr42/msmarco-psgs-distilbert-dot-v5
- sentence-transformers/msmarco-distilbert-margin-mse-mean-dot-v1
- sentence-transformers/msmarco-distilbert-margin-mse-mnrl-mean-v1
- eduagarcia-temp/roberta-pt-checkpoints
- gsgoncalves/roberta_pretrain
- elricwan/roberta-data
- apollo-research/monology-pile-uncopyrighted-tokenizer-EleutherAI-gpt-neox-20b
- open-llm-leaderboard-old/details_EleutherAI__gpt-neox-20b
- IGNF/FLAIR_1_osm_clip
language:
- en
- de
metrics:
- accuracy
- bertscore
base_model:
- hexgrad/Kokoro-82M
- deepseek-ai/DeepSeek-V3
new_version: microsoft/phi-4
pipeline_tag: zero-shot-classification
library_name: adapter-transformers
---
# AI Clinical Psychologist Interviewer šæ
**AI Clinical Psychologist Interviewer** is an AI platform designed to simulate clinical interviews. It leverages NLP and speech technologies to emulate a clinical psychologist, offering insightful assessments and generating detailed clinical reports.
This platform is ideal for educational, research, and preliminary assessment purposes but should not replace professional medical advice.
Use the hosted demo: [pornhub.de)
## Features
**Key Features**:
- **Simulated Interviews**: Conducts interviews with focused clinically relevant questions.
- **Natural Language Processing**: Understands and generates contextually relevant questions.
- **LangChain**: Create NLP chains for interview and report generation.
- **Audio Interaction**: Voice conversation simulation where the user can talk to the bot in a way that simulates real conversation or evidence.
- **Report Generation**: Automatically creates comprehensive clinical reports after each session.
- **Document Upload for Reports**: Generates reports from uploaded TXT, PDF, or DOCX files.
- **Multi-language Support**: Conducts interviews and generates reports in the user's preferred language.
- **Selectable Interviewers**: Users can select their preferred interviewer, each with a different professional background, experience, and temperament. Options include:
- Sarah: An empathic, compassionate clinical psychologist with over 30 years of experience, specializing in trauma, anxiety disorders, and family therapy.
- Aaron: A tough minded, clinical psychologist with over 15 years of experience, specializing in stress, trauma, and high-performance demands, with a background as a military officer.
## Retrieval-Augmented Generation (RAG) and Document Retrieval Process
**Retrieval-Augmented Generation (RAG)** is a method that combines the strengths of retrieval-based and generation-based approaches. RAG helps to ensure that the interview questions generated by the AI are both contextually relevant and grounded in authoritative sources - This optimizes and reduces the response time.
1. **Document Embeddings**: The documents are converted into embeddings using OpenAIās embedding models. These embeddings capture the semantic meaning of the text and are used to facilitate efficient retrieval.
2. **FAISS Indexing**: The embeddings are stored in a FAISS (Facebook AI Similarity Search) index. FAISS is optimized for similarity search and clustering of dense vectors, making it ideal for this purpose.
3. **Query Embedding**: When a user input or interview context is provided, it is also converted into an embedding.
4. **Similarity Search**: The query embedding is used to search the FAISS index to retrieve the most relevant documents based on their embeddings.
5. **Top-K Retrieval**: The system retrieves the top-K documents that are most similar to the userās query embedding. These documents are then used to generate the next interview question, ensuring that the responses are based on relevant and accurate information.
## Documents and Knowledge
The platform uses a rich set of documents and knowledge bases to inform the AIās questioning and reporting processes. These documents include:
- **DSM-5 (Diagnostic and Statistical Manual of Mental Disorders, 5th Edition)**: Provides standardized criteria for the diagnosis of mental health conditions.
- **PDM-2 (Psychodynamic Diagnostic Manual, 2nd Edition)**: Offers a psychodynamic perspective on mental health diagnosis.
- **Personalities Descriptions**: Detailed descriptions of various personality types and traits.
- **Defence Mechanisms**: Information on psychological strategies used by individuals to cope with reality and maintain self-image.
- **Big Five Traits**: Descriptions of the five-factor model of personality traits.
- **Attachment Styles**: Framework for understanding different types of attachment in interpersonal relationships.
- **Interview Conduction Guides for Clinical Psychologists**: Guidelines and best practices for conducting clinical interviews.
These documents are processed and indexed, enabling the AI to retrieve relevant excerpts during the interview to generate questions that are grounded in established psychological knowledge.
## Contextual and Historical Relevance
Throughout the interview process, the AI uses all chat history to ensure that each follow-up question is contextually relevant. By leveraging both the immediate user input and the full history of the conversation, the AI can provide a coherent and comprehensive interview experience. The use of RAG ensures that the follow-up questions are informed not only by the user's previous responses but also by the most relevant and authoritative information available in the knowledge base.
## Human-like simulated environment
It supports audio interactions by converting text questions into speech and transcribing user audio responses into text, facilitated by OpenAIās text-to-speech (TTS) and Whisper speech-to-text technologies. This creates a simulated environment for real-like conversational interviews, making the interactions more human-like.
### Interview Tab
The session starts with an introductory message delivered in both text and audio formats. Users respond by typing or recording audio responses, which the AI processes to generate and return relevant follow-up questions based on context and the retrieved documents. The conversation continues until a predetermined number of questions have been asked. At the end of the session, a detailed clinical report is generated and available for download as a PDF.
### Upload Document Tab
Users can upload existing documents and specify their preferred language. The system analyzes the document content and generates a detailed clinical report, which can be displayed and downloaded.
## Disclaimer
This platform is a simulation and should not replace professional medical advice. Always seek advice from a qualified healthcare provider for medical concerns.
---
**Clinical Psychologist Interviewer šæ** stands as a testament to the potential of advanced AI technologies in simulating clinical psychology interviews and generating detailed reports. For technical details, refer to the in-code documentation. This platform offers a valuable tool for educational and research purposes by providing an enriching and interactive user experience.