mirror of
https://github.com/langgenius/dify.git
synced 2026-03-13 21:22:28 +08:00
Update README.md
This commit is contained in:
parent
aca717d047
commit
e549292555
@ -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)
|
||||
```
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user