Skip to content

Commit

Permalink
Merge pull request #21 from KATTA-00/docs
Browse files Browse the repository at this point in the history
Change apiKey to token in docs
  • Loading branch information
NipunaRanasinghe authored Aug 21, 2024
2 parents f03f8ed + 123f3b4 commit 1cccd4b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ import ballerina/io;
Create a `finetunes:ConnectionConfig` with the obtained API Key and initialize the connector.

```ballerina
configurable string apiKey = ?;
configurable string token = ?;
final finetunes:Client openAIFinetunes = check new({
auth: {
token: apiKey
token
}
});
```
Expand Down
4 changes: 2 additions & 2 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ import ballerina/io;
Create a `finetunes:ConnectionConfig` with the obtained API Key and initialize the connector.

```ballerina
configurable string apiKey = ?;
configurable string token = ?;
final finetunes:Client openAIFinetunes = check new({
auth: {
token: apiKey
token
}
});
```
Expand Down
4 changes: 2 additions & 2 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ import ballerina/io;
Create a `finetunes:ConnectionConfig` with the obtained API Key and initialize the connector.

```ballerina
configurable string apiKey = ?;
configurable string token = ?;
final finetunes:Client openAIFinetunes = check new({
auth: {
token: apiKey
token
}
});
```
Expand Down

0 comments on commit 1cccd4b

Please sign in to comment.