Prerequisites
pip install rowboat- Deploy your assistant to production
- Obtain your
<API_KEY>and<PROJECT_ID>
API Host
- For the open source installation, the
<HOST>is http://localhost:3000 - When using the hosted app, the
<HOST>is https://app.rowboatlabs.com
Usage
Basic Usage
The main way to interact with Rowboat is using theClient class, which provides a stateless chat API. You can manage conversation state using the conversationId returned in each response.
Using Tool Overrides (Mock Tools)
You can provide tool override instructions to test a specific configuration using themockTools argument:
Message Types
You can use different message types as defined inrowboat.schema, such as UserMessage, SystemMessage, AssistantMessage, etc. See schema.py for all available message types.
Error Handling
If the API returns a non-200 status code, aValueError will be raised with the error details.
For more advanced usage, see the docstrings in
client.py and the message schemas in schema.py.