Update README.md

This commit is contained in:
crazywoola 2023-05-12 13:57:27 +08:00 committed by GitHub
parent 81facf1850
commit 74033bf2f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -13,8 +13,7 @@ After installing the SDK, you can use it in your project like this:
import { LangGeniusClient, ChatClient, CompletionClient } from 'langgenius-client'
const API_KEY = 'your-api-key-here';
const APP_ID = 'your-app-id-here';
const user = `user_${APP_ID}:user_id`:
const user = `random-user-id`:
// Create a completion client
const completionClient = new CompletionClient(API_KEY)