mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
fix: Fix symbol errors in the nodejs-client's README.md file of the SDK (#3)
This commit is contained in:
@@ -13,7 +13,7 @@ After installing the SDK, you can use it in your project like this:
|
|||||||
import { DifyClient, ChatClient, CompletionClient } from 'dify-client'
|
import { DifyClient, ChatClient, CompletionClient } from 'dify-client'
|
||||||
|
|
||||||
const API_KEY = 'your-api-key-here';
|
const API_KEY = 'your-api-key-here';
|
||||||
const user = `random-user-id`:
|
const user = `random-user-id`;
|
||||||
|
|
||||||
// Create a completion client
|
// Create a completion client
|
||||||
const completionClient = new CompletionClient(API_KEY)
|
const completionClient = new CompletionClient(API_KEY)
|
||||||
|
|||||||
Reference in New Issue
Block a user