Assistant
Official Tinq.ai python SDK.
All URIs are relative to https://tinq.ai/api/v2
If you are an enterprise customer, check your account for your custom endpoint.
Method | HTTP request | Description |
---|---|---|
generate | POST /assistant | Generate |
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\" }
Example
- Bearer Authentication (bearerAuth):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
accept_charset | str | [optional] | |
content_type | str | [optional] | |
accept | str | [optional] | |
body | object | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |