You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
# @libretto/openai
1
+
# @libretto/anthropic
2
2
3
-
A drop-in replacement of the official `OpenAI` client for sending events to Libretto.
3
+
A drop-in replacement of the official `Anthropic` client for sending events to Libretto.
4
4
5
5
## Installation
6
6
7
7
```bash
8
-
npm install @libretto/openai
8
+
npm install @libretto/anthropic
9
9
```
10
10
11
11
## Get Started
@@ -19,24 +19,24 @@ To send events to Libretto, you'll need to create a project. From the project yo
19
19
20
20
## Usage
21
21
22
-
You can use the `OpenAI` client provided by `@libretto/openai` anywhere that you're currently using the official client.
22
+
You can use the `Anthropic` client provided by `@libretto/anthropic` anywhere that you're currently using the official client.
23
23
24
-
When instantiating the client, you can/should provide any of the standard `OpenAI` parameters in the constructor. Libretto-specific configuration can be provided via an additional `libretto` argument (see below).
24
+
When instantiating the client, you can/should provide any of the standard `Anthropic` parameters in the constructor. Libretto-specific configuration can be provided via an additional `libretto` argument (see below).
25
25
26
26
To allow our tools to separate the "prompt" from the "prompt parameters", use the included `objectTemplate` helper and pass the parameters separately as follows:
0 commit comments