Unverified Commit 20d8f47a authored by maxchiron's avatar maxchiron Committed by GitHub
Browse files

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

parent 414bc34c
...@@ -61,7 +61,7 @@ The interactive mode can be controlled by the `interactive_mode` boolean paramet ...@@ -61,7 +61,7 @@ The interactive mode can be controlled by the `interactive_mode` boolean paramet
```python ```python
from lmdeploy.serve.openai.api_client import APIClient from lmdeploy.serve.openai.api_client import APIClient
api_client = APIClient('http://{server_ip}:{server_port}') 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) 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