feat(client): Modify api address

This commit is contained in:
Fangyin Cheng
2024-03-21 09:58:32 +08:00
parent 01ea5f8064
commit ab3e8e54a1
15 changed files with 98 additions and 97 deletions

View File

@@ -1,13 +1,8 @@
import asyncio
"""Client: Simple Chat example.
from dbgpt.client.client import Client
This example demonstrates how to use the dbgpt client to chat with the chatgpt model.
"""
Client: Simple Chat example
This example demonstrates how to use the dbgpt client to chat with the chatgpt model.
Example:
Example:
.. code-block:: python
DBGPT_API_KEY = "dbgpt"
@@ -53,6 +48,10 @@ Client: Simple Chat example
print(data.dict())
"""
import asyncio
from dbgpt.client import Client
async def main():
# initialize client