docs: format all md files (#24195)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong
2025-08-20 13:49:11 +08:00
committed by GitHub
parent 52857eb6b3
commit 4c1ad40f8e
53 changed files with 1039 additions and 976 deletions

View File

@@ -1,12 +1,15 @@
# Dify Node.js SDK
This is the Node.js SDK for the Dify API, which allows you to easily integrate Dify into your Node.js applications.
## Install
```bash
npm install dify-client
```
## Usage
After installing the SDK, you can use it in your project like this:
```js
@@ -60,4 +63,5 @@ client.messageFeedback(messageId, rating, user)
Replace 'your-api-key-here' with your actual Dify API key.Replace 'your-app-id-here' with your actual Dify APP ID.
## License
This SDK is released under the MIT License.

View File

@@ -11,7 +11,7 @@ This is the PHP SDK for the Dify API, which allows you to easily integrate Dify
If you want to try the example, you can run `composer install` in this directory.
In exist project, copy the `dify-client.php` to you project, and merge the following to your `composer.json` file, then run `composer install && composer dump-autoload` to install. Guzzle does not require 7.9, other versions have not been tested, but you can try.
In exist project, copy the `dify-client.php` to you project, and merge the following to your `composer.json` file, then run `composer install && composer dump-autoload` to install. Guzzle does not require 7.9, other versions have not been tested, but you can try.
```json
{

View File

@@ -141,8 +141,6 @@ with open(file_path, "rb") as file:
result = response.json()
print(f'upload_file_id: {result.get("id")}')
```
- Others
@@ -184,7 +182,8 @@ print('[rename result]')
print(rename_conversation_response.json())
```
* Using the Workflow Client
- Using the Workflow Client
```python
import json
import requests