Skip to content

Commit e3e1855

Browse files
committed
sdk WIP
1 parent 0816fb7 commit e3e1855

File tree

11 files changed

+249
-519
lines changed

11 files changed

+249
-519
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
# @prompt-foundry/typescript-sdk
22

3-
The Typescript/ JavasScript SDK for the prompt engineering, prompt management, and prompt testing tool.
3+
The TypeScript/ JavasScript prompt engineering, prompt management, and prompt testing tool.
44

55
## Installation
66

7-
`npm install @prompt-foundry/typescript-sdk`
7+
```bash
8+
npm install @prompt-foundry/typescript-sdk
9+
```
10+
11+
## Usage
12+
13+
```typescript
14+
import PromptFoundry from '@prompt-foundry/typescript-sdk'
15+
16+
const pf = new PromptFoundry({
17+
apiKey: '<API_KEY>'
18+
})
19+
20+
const prompt = await pf.getPrompt({ promptId: 'HELLO' })
21+
```

0 commit comments

Comments
 (0)