# DifyChat Smart Chat

# Feature Description

DifyChat is a complete chat application component integrated with the Dify AI platform, providing out-of-the-box intelligent conversation capabilities.

# Preview

Dify Chat Demo Dify Chat Demo Dify Chat Demo

# Core Features

  • Complete chat interface
  • Dify API integration
  • Conversation management (create, switch, delete)
  • Streaming message processing
  • File upload support
  • Message operations (edit, retry, feedback)

Currently, only a simple workflow is integrated, as shown below:

Dify Chat Demo

# Dify API Endpoints Used

The DifyChat component integrates the following Dify API endpoints:

# Conversation Endpoints

  • GET /conversations - Get conversation list
  • POST /chat-messages - Send chat message (supports streaming)
  • GET /messages - Get message history
  • POST /conversations - Create a new conversation
  • DELETE /conversations/{conversation_id} - Delete a conversation

# File Endpoints (Requires a model that can recognize files)

  • POST /files/upload - Upload file
  • Supports various file types such as documents, images, audio, and video

# Other Endpoints

  • GET /suggested-questions - Get suggested questions
  • POST /messages/{message_id}/feedbacks - Message feedback

# Try It Live

Try DifyChat Live