fix: Fix symbol errors in the nodejs-client's README.md file of the SDK

pull/3/head
ares0x 3 years ago
parent db896255d6
commit e7c60b82ba

@ -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)

Loading…
Cancel
Save