Official Tinq.ai python SDK.
Method | HTTP request | Description |
---|---|---|
generate | POST /assistant | Generate |
generate(accept_charset=accept_charset, content_type=content_type, accept=accept, body=body)Generate Generate content with an assistant Sample body parameters:
json { \"language\": \"english\", \"tone\": \"encouraging\", \"tool\": \"tweet\", \"number\": \"4\", \"details\": \"how to be rich\" }
Name | Type | Description | Notes |
---|---|---|---|
accept_charset | str | [optional] | |
content_type | str | [optional] | |
accept | str | [optional] | |
body | object | [optional] |
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |