LLMConfig field of the StartAIConversation API. Dify uses its own dedicated LLMType:// json — LLMConfig{"LLMType": "dify","APIKey": "app-<your_dify_api_key>","APIUrl": "https://api.dify.ai/v1/chat-messages","Streaming": true,"Inputs": {},"User": "user_id","ConversationId": ""}
Field | Type | Required | Description |
LLMType | String | Yes | Fixed value: "dify". |
APIKey | String | Yes | |
APIUrl | String | Yes | Dify chat messages endpoint. |
Streaming | Boolean | No | Enable streaming. Default: true. |
Inputs | Object | No | Input variables defined in your Dify app workflow. |
User | String | No | User identifier for Dify session tracking. |
ConversationId | String | No | Leave empty for a new conversation; pass an existing ID to continue. |
フィードバック