AiAssistant / README.md
Ajit Panday
Initial commit: Customer Support Chatbot with DialoGPT-medium
d538a8c
---
title: AiAssistant
emoji: πŸ†
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 5.23.1
app_file: app.py
pinned: false
license: apache-2.0
short_description: AiAssistant
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# Customer Support Chatbot
A beautiful chatbot built using DialoGPT-medium and the Victorano/customer-support-1k dataset. The chatbot features a clean and modern Gradio interface with conversation history support.
## Features
- Powered by DialoGPT-medium model
- Clean and modern Gradio interface
- Conversation history within the same session
- Copy button for messages
- Bot avatar using DiceBear API
- Responsive design
## Setup
1. Install the required dependencies:
```bash
pip install -r requirements.txt
```
2. Run the application:
```bash
python app.py
```
## Deployment on Hugging Face Spaces
1. Create a new Space on Hugging Face
2. Choose "Gradio" as the SDK
3. Upload these files to your Space:
- app.py
- requirements.txt
- README.md
The Space will automatically build and deploy your chatbot.
## Usage
1. Type your message in the text input box
2. Press Enter or click the Send button
3. The chatbot will generate a response based on your input
4. The conversation history will be maintained in the chat window
5. You can copy any message using the copy button that appears on hover
## Model Details
- Model: microsoft/DialoGPT-medium
- Dataset: Victorano/customer-support-1k
- Generation Parameters:
- max_length: 1000
- temperature: 0.7
- top_k: 50
- top_p: 0.9