1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!-- Generated by box-gantry. DO NOT EDIT. -->
# AiManager
Reach these methods through the `ai` field on `client::Client`.
## ask
`POST /ai/ask`
**Request body** (`application/json`): `AiAsk`
**Returns:** `AiResponseFull`
## create_text_gen
`POST /ai/text_gen`
**Request body** (`application/json`): `AiTextGen`
**Returns:** `AiResponse`
## get_agent_default
`GET /ai_agent_default`
| Parameter | In | Type | Required |
|---|---|---|---|
| `mode` | query | `GetAgentDefaultMode` | yes |
| `language` | query | `String` | no |
| `model` | query | `String` | no |
**Returns:** `AiAgent`
## extract
`POST /ai/extract`
**Request body** (`application/json`): `AiExtract`
**Returns:** `AiResponse`
## create_extract_structured
`POST /ai/extract_structured`
**Request body** (`application/json`): `AiExtractStructured`
**Returns:** `AiExtractStructuredResponse`