2025-06-01 10:57:50 +02:00

empathy

Author: Unknown

⚠️ This README.md has been automatically generated using AI and might contain hallucinations or inaccuracies. Please proceed with caution!

Empathy AI Chatbot

Description

This repository contains a Python script for an empathetic AI chatbot that analyzes user input from multiple perspectives (Sachebene, Selbstkundgabe, Beziehungsebene, Appell) and generates a personalized response. The chatbot uses the LangChain and Ollama models to perform these analyses.

Features

  • Multi-Perspective Analysis: Analyzes user input on four levels: what is said (Sache), what it reveals about the self (Selbstkundgabe), how it perceives the relationship (Beziehungsebene), and underlying appeals or wishes (Appell).
  • Empathetic Response Generation: Generates responses that are empathetic, considerate of user feelings, and tailored to the context.
  • Debugging Mode: Includes a debug mode for detailed logging of the analysis process.

Requirements

  • Python 3.8+
  • langchain_ollama library
  • Ollama model server running locally or accessible via an API

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/empathy-chatbot.git
    cd empathy-chatbot
    
    
  2. Install dependencies:

    pip install langchain_ollama
    
    
    

Usage

Run the script with Python: bash python Neuer\ Ordner\ mit\ Objekten/empathy\ Kopie.py --debug

  • The --debug flag is optional and enables detailed debug output.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request with your changes.

Description
Empathy project with scripts for analyzing emotional opposites and data in JSON format.
Readme 68 KiB
Languages
Python 100%