# 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
# 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 API Endpoints Used
The DifyChat component integrates the following Dify API endpoints:
# Conversation Endpoints
GET /conversations
- Get conversation listPOST /chat-messages
- Send chat message (supports streaming)GET /messages
- Get message historyPOST /conversations
- Create a new conversationDELETE /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 questionsPOST /messages/{message_id}/feedbacks
- Message feedback
# Try It Live
# Related Links
- Dify Official Documentation (opens new window) - Learn about the full features and API documentation of the Dify AI platform
- Dify API Reference (opens new window) - Detailed API endpoint descriptions and invocation methods