update py-sdk readme

This commit is contained in:
ramnique 2025-01-27 11:01:53 +05:30
parent e3576489e3
commit c1db2b7306
2 changed files with 4 additions and 12 deletions

View file

@ -24,7 +24,7 @@ from rowboat.schema import UserMessage, SystemMessage
client = Client(
host="<HOST>",
project_id="<PROJECT_ID>",
project_secret="<PROJECT_SECRET>"
api_key="<API_KEY>"
)
# Create messages
@ -90,17 +90,9 @@ print(response)
The `Client` class handles communication with the Rowboat API.
```python
Client(host: str, project_id: str, project_secret: str)
Client(host: str, project_id: str, api_key: str)
```
### StatefulChat
The `StatefulChat` class maintains conversation state across multiple turns.
```python
StatefulChat(
client: Client,
tools: Optional[Dict[str, Callable[..., str]]] = None,
system_prompt: Optional[str] = None
)
```
The `

View file

@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "rowboat"
version = "1.0.0"
version = "1.0.1"
authors = [
{ name = "Your Name", email = "your.email@example.com" },
]