Commit b21f801 1 parent 6ddfe26 commit b21f801 Copy full SHA for b21f801
File tree 2 files changed +25
-6
lines changed
2 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -165,25 +165,33 @@ cursive = Cursive(
165
165
```
166
166
167
167
## available models
168
- #### OpenAI
168
+ <details >
169
+ <summary ><strong >OpenAI models<strong ></summary >
170
+
169
171
- ` gpt-3.5-turbo `
170
172
- ` gpt-3.5-turbo-16k `
171
173
- ` gpt-4 `
172
174
- ` gpt-4-32k `
173
175
- Any other chat completion model version
176
+
174
177
###### Credentials
175
178
You can pass your OpenAI API key to ` Cursive ` 's constructor, or set the ` OPENAI_API_KEY ` environment variable.
179
+ </details >
180
+
181
+ <details >
182
+ <summary ><strong >Anthropic models</strong ></summary >
176
183
177
- #### Anthropic
178
184
- ` claude-2 `
179
185
- ` claude-instant-1 `
180
186
- ` claude-instant-1.2 `
181
187
- Any other model version
182
188
183
189
###### Credentials
184
190
You can pass your Anthropic API key to ` Cursive ` 's constructor, or set the ` ANTHROPIC_API_KEY ` environment variable.
191
+ </details >
185
192
186
- #### OpenRouter
193
+ <details >
194
+ <summary ><strong >OpenRouter models</strong ></summary >
187
195
188
196
OpenRouter is a service that gives you access to leading language models in an OpenAI-compatible API, including function calling!
189
197
@@ -212,15 +220,22 @@ cursive.ask(
212
220
prompt = " What is the meaning of life?"
213
221
)
214
222
```
223
+ </details >
224
+
225
+
226
+ <details >
227
+ <summary ><strong >Cohere models</strong ></summary >
215
228
216
- #### Cohere
217
229
- ` command `
218
230
- Any other model version (such as ` command-nightly ` )
219
231
220
232
###### Credentials
221
233
You can pass your Cohere API key to ` Cursive ` 's constructor, or set the ` COHERE_API_KEY ` environment variable.
222
234
223
- #### Replicate
235
+ </details >
236
+
237
+ <details >
238
+ <summary ><strong >Replicate models</strong ></summary >
224
239
You can prepend ` replicate/ ` to any model name and version available on Replicate.
225
240
226
241
###### Example
@@ -233,11 +248,15 @@ cursive.ask(
233
248
234
249
###### Credentials
235
250
You can pass your Replicate API key to ` Cursive ` 's constructor, or set the ` REPLICATE_API_TOKEN ` environment variable.
251
+
252
+ </details >
253
+
236
254
## roadmap
237
255
238
256
### vendor support
239
257
- [x] Anthropic
240
258
- [x] Cohere
241
259
- [x] Replicate
260
+ - [x] OpenRouter
242
261
- [ ] Azure OpenAI models
243
262
- [ ] Huggingface
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " cursivepy"
3
- version = " 0.6.0 "
3
+ version = " 0.6.1 "
4
4
description = " "
5
5
authors = [
6
6
" Rodrigo Godinho <[email protected] >" ,
You can’t perform that action at this time.
0 commit comments