Files
empathy/README.md

44 lines
1.7 KiB
Markdown
Raw Normal View History

2025-06-01 11:55:08 +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
2025-06-01 11:55:08 +02:00
## 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.
2025-06-01 11:55:08 +02:00
## 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
2025-06-01 11:55:08 +02:00
## Installation
1. Clone the repository:
2025-06-01 11:55:08 +02:00
```bash
git clone https://github.com/yourusername/empathy-chatbot.git
2025-06-01 11:55:08 +02:00
cd empathy-chatbot
2. Install dependencies:
2025-06-01 11:55:08 +02:00
```bash
pip install langchain_ollama
2025-06-01 11:55:08 +02:00
## Usage
Run the script with Python:
2025-06-01 11:55:08 +02:00
bash
python Neuer\ Ordner\ mit\ Objekten/empathy\ Kopie.py --debug
2025-06-01 11:55:08 +02:00
- The `--debug` flag is optional and enables detailed debug output.
2025-06-01 11:55:08 +02:00
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
2025-06-01 11:55:08 +02:00
## Contributing
Contributions are welcome! Please open an issue or submit a pull request with your changes.