File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed
Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 11import "dotenv/config" ;
22import { NilaiOpenAIClient } from "@nillion/nilai-ts" ;
33
4- // To obtain an API key, navigate to https://nilpay.vercel.app /
5- // and create a new subscription .
6- // The API key will be displayed in the subscription details.
4+ // To obtain an API key, navigate to https://nilai.nillion.com /
5+ // and create a public DID / private API key .
6+
77// The NilaiOpenAIClient class automatically handles the NUC token creation and management.
88
99const API_KEY = process . env . NILLION_API_KEY ;
Original file line number Diff line number Diff line change 77 NilaiOpenAIClient ,
88} from "@nillion/nilai-ts" ;
99
10- // To obtain an API key, navigate to https://nilpay.vercel.app/
11- // and create a new subscription.
12- // The API key will be displayed in the subscription details.
10+ // To obtain an API key, navigate to https://nilai.nillion.com/
11+ // and create a public DID / private API key.
1312
1413const API_KEY = process . env . NILLION_API_KEY ;
1514
Original file line number Diff line number Diff line change 88} from "@nillion/nilai-ts" ;
99import { Did as DidClass } from "@nillion/nuc" ;
1010
11- // To obtain an API key, navigate to https://nilpay.vercel.app/
12- // and create a new subscription.
13- // The API key will be displayed in the subscription details.
11+ // To obtain an API key, navigate to https://nilai.nillion.com/
12+ // and create a public DID / private API key.
1413
1514const API_KEY = process . env . NILLION_API_KEY ;
1615
Original file line number Diff line number Diff line change 11import "dotenv/config" ;
22import { NilaiOpenAIClient } from "@nillion/nilai-ts" ;
33
4- // To obtain an API key, navigate to https://nilpay.vercel.app /
5- // and create a new subscription .
6- // The API key will be displayed in the subscription details.
4+ // To obtain an API key, navigate to https://nilai.nillion.com /
5+ // and create a public DID / private API key .
6+
77// The NilaiOpenAIClient class automatically handles the NUC token creation and management.
88
99const API_KEY = process . env . NILLION_API_KEY ;
You can’t perform that action at this time.
0 commit comments