Skip to content

Commit 3f88254

Browse files
Update README.md
1 parent 8d7b032 commit 3f88254

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ Instantiate and use the client with the following:
2222
```typescript
2323
import { phenomlClient } from "phenoml";
2424

25-
const client = new phenomlClient({ token: "YOUR_TOKEN" });
25+
const client = new PhenoMLClient({
26+
username: "your_username",
27+
password: "your_password",
28+
baseUrl: "https://your-phenoml-instance.com"
29+
});
30+
31+
2632
await client.agent.create({
2733
name: "name",
2834
prompts: ["prompt_123", "prompt_456"],

0 commit comments

Comments
 (0)