Skip to content

Conversation

@raushan-skyflow
Copy link
Contributor

Why:

To provide working examples of using the Node SDK with the Bun run time environment.

Goal:

Add functional Bun samples for the following Node SDK interfaces:

  • Detect File
  • Detect Text
  • File Upload

// options.setBleep(bleep);

// Step 6: Call deidentifyFile API
const response = await skyflowClient
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add response type: DeidentifyFileResponse

optionsText.setTransformations(transformations);

// Step 6: Call deidentifyText API
const response = await skyflowClient
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add type for response: DeidentifyTextResponse


// Step 4: Prepare File Upload Data
const tableName = "<TABLE_NAME>"; // Table name
const skyflowId = "<SKYFLOW_ID>"; // Skyflow ID of the record
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add types for all these variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants