@@ -22,7 +22,7 @@ Different LLMs may have their own message object rules. For example, both Anthro
22
22
- ** Parameters:**
23
23
- ` message ` : An object containing the model and messages to send.
24
24
- ` options ` : An optional object containing ` max_tokens ` , ` model ` , and ` response_format ` .
25
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
25
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
26
26
- ** Returns:** A promise that resolves to the response text.
27
27
- ** Example:**
28
28
44
44
- ** Parameters:**
45
45
- ` message ` : An object containing the model and messages to send.
46
46
- ` options ` : An optional object containing ` max_tokens ` and ` model ` .
47
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
47
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
48
48
- ** Returns:** A promise that resolves to the response text.
49
49
- ** Example:**
50
50
66
66
- ** Parameters:**
67
67
- ` message ` : An object containing the model and messages to send.
68
68
- ` options ` : An optional object containing ` max_tokens ` and ` model ` .
69
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
69
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
70
70
- ** Returns:** A promise that resolves to the response text.
71
71
- ** Example:**
72
72
@@ -88,7 +88,7 @@ anthropic
88
88
- ** Parameters:**
89
89
- ` message ` : An object containing the model and messages to send.
90
90
- ` options ` : An optional object containing ` max_tokens ` and ` model ` .
91
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
91
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
92
92
- ** Returns:** A promise that resolves to the response text.
93
93
- ** Example:**
94
94
@@ -110,7 +110,7 @@ cohere
110
110
- ** Parameters:**
111
111
- ` message ` : An object containing the model and messages to send.
112
112
- ` options ` : An optional object containing ` max_tokens ` , ` model ` , and ` response_format ` .
113
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
113
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
114
114
- ** Returns:** A promise that resolves to the response text.
115
115
- ** Example:**
116
116
@@ -132,7 +132,7 @@ gemini
132
132
- ** Parameters:**
133
133
- ` message ` : An object containing the model and messages to send.
134
134
- ` options ` : An optional object containing ` max_tokens ` , and ` model ` .
135
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
135
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
136
136
- ** Returns:** A promise that resolves to the response text.
137
137
- ** Example:**
138
138
@@ -154,7 +154,7 @@ goose
154
154
- ** Parameters:**
155
155
- ` message ` : An object containing the model and messages to send.
156
156
- ` options ` : An optional object containing ` max_tokens ` and ` model ` .
157
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
157
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
158
158
- ** Returns:** A promise that resolves to the response text.
159
159
- ** Example:**
160
160
176
176
- ** Parameters:**
177
177
- ` message ` : An object containing the model and messages to send.
178
178
- ` options ` : An optional object containing ` max_tokens ` and ` model ` .
179
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
179
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
180
180
- ** Returns:** A promise that resolves to the response text.
181
181
- ** Example:**
182
182
@@ -198,7 +198,7 @@ huggingface
198
198
- ** Parameters:**
199
199
- ` message ` : An object containing the model and messages to send.
200
200
- ` options ` : An optional object containing ` max_tokens ` and ` model ` .
201
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
201
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
202
202
- ** Returns:** A promise that resolves to the response text.
203
203
- ** Example:**
204
204
@@ -220,7 +220,7 @@ mistral
220
220
- ** Parameters:**
221
221
- ` message ` : An object containing the model and messages to send.
222
222
- ` options ` : An optional object containing ` max_tokens ` and ` model ` .
223
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
223
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
224
224
- ** Returns:** A promise that resolves to the response text.
225
225
- ** Example:**
226
226
@@ -242,7 +242,7 @@ perplexity
242
242
- ** Parameters:**
243
243
- ` message ` : An object containing the model and messages to send.
244
244
- ` options ` : An optional object containing ` model ` . This method currently has no token limitation.
245
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
245
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
246
246
- ** Returns:** A promise that resolves to the response text.
247
247
- ** Example:**
248
248
264
264
- ** Parameters:**
265
265
- ` message ` : An object containing the model and messages to send.
266
266
- ` options ` : An optional object containing ` max_tokens ` .
267
- - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts `
267
+ - ` interfaceOptions ` : An optional object specifying ` cacheTimeoutSeconds ` and ` retryAttempts ` .
268
268
- ** Returns:** A promise that resolves to the response text.
269
269
- ** Example:**
270
270
0 commit comments