Skip to content

Commit 5888d67

Browse files
committed
fix: Added log
1 parent 79e616b commit 5888d67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/studio/conversational-rag/rag-engine.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ async function waitForFileProcessing(
2727
async function uploadGetUpdateDelete(fileInput, path) {
2828
const client = new AI21({ apiKey: process.env.AI21_API_KEY });
2929
try {
30+
console.log(`Uploading file with id ${fileInput}`);
3031
const uploadFileResponse: UploadFileResponse = await client.files.create({
3132
file: fileInput,
3233
path: path,

0 commit comments

Comments
 (0)