Skip to content

Commit

Permalink
add more small explenation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaiBer committed Mar 19, 2024
1 parent 5dc9b73 commit c8f5f1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/openai-joker/main.w
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ bring openai;
//{
// "OAIAPIKey": "<your key here>"
//}
// Alternatively, you can set the secret value in the OpenAI constructor directly in line 18, like this:
// this.openai = new openai.OpenAI(apiKey: <your key here>);
let apiKeySecret = new cloud.Secret(name: "OAIAPIKey") as "OpenAI Secret";

class Assistant {
Expand Down

0 comments on commit c8f5f1d

Please sign in to comment.