Update README.md

This commit is contained in:
John Wang 2023-04-13 21:06:51 +08:00 committed by GitHub
parent aca717d047
commit e549292555
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,14 @@ A LangGenius App Service-API Client, using for build a webapp by request Service
## Usage
First, install `langgenius-client` python sdk package:
```
pip install langgenius-client
```
Write your code with sdk:
```
api_key = "your_api_key"
@ -31,4 +39,4 @@ print(conversations)
# Rename Conversation using ChatClient
rename_conversation_response = chat_client.rename_conversation(conversation_id="conversation_id", name="new_name", user="user_id")
print(rename_conversation_response)
```
```