Skip to content

Commit 8329b59

Browse files
committed
Update API.md
1 parent 8e6df6c commit 8329b59

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/API.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Different LLMs may have their own message object rules. For example, both Anthro
2222
- **Parameters:**
2323
- `message`: An object containing the model and messages to send.
2424
- `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`.
2626
- **Returns:** A promise that resolves to the response text.
2727
- **Example:**
2828

@@ -44,7 +44,7 @@ openai
4444
- **Parameters:**
4545
- `message`: An object containing the model and messages to send.
4646
- `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`.
4848
- **Returns:** A promise that resolves to the response text.
4949
- **Example:**
5050

@@ -66,7 +66,7 @@ ai21
6666
- **Parameters:**
6767
- `message`: An object containing the model and messages to send.
6868
- `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`.
7070
- **Returns:** A promise that resolves to the response text.
7171
- **Example:**
7272

@@ -88,7 +88,7 @@ anthropic
8888
- **Parameters:**
8989
- `message`: An object containing the model and messages to send.
9090
- `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`.
9292
- **Returns:** A promise that resolves to the response text.
9393
- **Example:**
9494

@@ -110,7 +110,7 @@ cohere
110110
- **Parameters:**
111111
- `message`: An object containing the model and messages to send.
112112
- `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`.
114114
- **Returns:** A promise that resolves to the response text.
115115
- **Example:**
116116

@@ -132,7 +132,7 @@ gemini
132132
- **Parameters:**
133133
- `message`: An object containing the model and messages to send.
134134
- `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`.
136136
- **Returns:** A promise that resolves to the response text.
137137
- **Example:**
138138

@@ -154,7 +154,7 @@ goose
154154
- **Parameters:**
155155
- `message`: An object containing the model and messages to send.
156156
- `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`.
158158
- **Returns:** A promise that resolves to the response text.
159159
- **Example:**
160160

@@ -176,7 +176,7 @@ groq
176176
- **Parameters:**
177177
- `message`: An object containing the model and messages to send.
178178
- `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`.
180180
- **Returns:** A promise that resolves to the response text.
181181
- **Example:**
182182

@@ -198,7 +198,7 @@ huggingface
198198
- **Parameters:**
199199
- `message`: An object containing the model and messages to send.
200200
- `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`.
202202
- **Returns:** A promise that resolves to the response text.
203203
- **Example:**
204204

@@ -220,7 +220,7 @@ mistral
220220
- **Parameters:**
221221
- `message`: An object containing the model and messages to send.
222222
- `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`.
224224
- **Returns:** A promise that resolves to the response text.
225225
- **Example:**
226226

@@ -242,7 +242,7 @@ perplexity
242242
- **Parameters:**
243243
- `message`: An object containing the model and messages to send.
244244
- `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`.
246246
- **Returns:** A promise that resolves to the response text.
247247
- **Example:**
248248

@@ -264,7 +264,7 @@ reka
264264
- **Parameters:**
265265
- `message`: An object containing the model and messages to send.
266266
- `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`.
268268
- **Returns:** A promise that resolves to the response text.
269269
- **Example:**
270270

0 commit comments

Comments
 (0)