Unverified Commit 414bc34c authored by maxchiron's avatar maxchiron Committed by GitHub
Browse files

[Docs] Fix typo in `restful_api ` user guide (#858)

fix ".generate" to ".chat_interactive_v1"
parent c9700db4
......@@ -56,7 +56,7 @@ LMDeploy 的 `/v1/chat/interactive` api 支持将对话内容管理在服务端
```python
from lmdeploy.serve.openai.api_client import APIClient
api_client = APIClient('http://{server_ip}:{server_port}')
for item in api_client.generate(prompt='hi'):
for item in api_client.chat_interactive_v1(prompt='hi'):
print(item)
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment