From 123f3b4c7234f1e270083183eeadabfa3e102699 Mon Sep 17 00:00:00 2001 From: KATTA-00 Date: Wed, 21 Aug 2024 10:00:20 +0530 Subject: [PATCH] Change apiKey to token --- README.md | 4 ++-- ballerina/Module.md | 4 ++-- ballerina/Package.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 923ae7d..6418cb7 100644 --- a/README.md +++ b/README.md @@ -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 } }); ``` diff --git a/ballerina/Module.md b/ballerina/Module.md index 67f83c9..3748867 100644 --- a/ballerina/Module.md +++ b/ballerina/Module.md @@ -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 } }); ``` diff --git a/ballerina/Package.md b/ballerina/Package.md index 67f83c9..3748867 100644 --- a/ballerina/Package.md +++ b/ballerina/Package.md @@ -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 } }); ```