Skip to content

Commit b21f801

Browse files
committed
docs: update readme
1 parent 6ddfe26 commit b21f801

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

README.md

+24-5
Original file line numberDiff line numberDiff line change
@@ -165,25 +165,33 @@ cursive = Cursive(
165165
```
166166

167167
## available models
168-
#### OpenAI
168+
<details>
169+
<summary><strong>OpenAI models<strong></summary>
170+
169171
- `gpt-3.5-turbo`
170172
- `gpt-3.5-turbo-16k`
171173
- `gpt-4`
172174
- `gpt-4-32k`
173175
- Any other chat completion model version
176+
174177
###### Credentials
175178
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>
176183

177-
#### Anthropic
178184
- `claude-2`
179185
- `claude-instant-1`
180186
- `claude-instant-1.2`
181187
- Any other model version
182188

183189
###### Credentials
184190
You can pass your Anthropic API key to `Cursive`'s constructor, or set the `ANTHROPIC_API_KEY` environment variable.
191+
</details>
185192

186-
#### OpenRouter
193+
<details>
194+
<summary><strong>OpenRouter models</strong></summary>
187195

188196
OpenRouter is a service that gives you access to leading language models in an OpenAI-compatible API, including function calling!
189197

@@ -212,15 +220,22 @@ cursive.ask(
212220
prompt="What is the meaning of life?"
213221
)
214222
```
223+
</details>
224+
225+
226+
<details>
227+
<summary><strong>Cohere models</strong></summary>
215228

216-
#### Cohere
217229
- `command`
218230
- Any other model version (such as `command-nightly`)
219231

220232
###### Credentials
221233
You can pass your Cohere API key to `Cursive`'s constructor, or set the `COHERE_API_KEY` environment variable.
222234

223-
#### Replicate
235+
</details>
236+
237+
<details>
238+
<summary><strong>Replicate models</strong></summary>
224239
You can prepend `replicate/` to any model name and version available on Replicate.
225240

226241
###### Example
@@ -233,11 +248,15 @@ cursive.ask(
233248

234249
###### Credentials
235250
You can pass your Replicate API key to `Cursive`'s constructor, or set the `REPLICATE_API_TOKEN` environment variable.
251+
252+
</details>
253+
236254
## roadmap
237255

238256
### vendor support
239257
- [x] Anthropic
240258
- [x] Cohere
241259
- [x] Replicate
260+
- [x] OpenRouter
242261
- [ ] Azure OpenAI models
243262
- [ ] Huggingface

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "cursivepy"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
description = ""
55
authors = [
66
"Rodrigo Godinho <[email protected]>",

0 commit comments

Comments
 (0)