Skip to main content

Analysis

This the the MlAnalysis Object, that will go on a format. this will hold all the different analysis models! ** keep format just a uuid for now **

Properties

NameType
schemaEmbeddedModelSchema
codeCodeAnalysis
idstring
formatstring
imageImageAnalysis

Example

import { Analysis } from '@pieces.app/pieces-os-client'

// TODO: Update the object below with actual values
const example: Analysis = {
"schema": null,
"code": null,
"id": null,
"format": null,
"image": null,
}

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as Analysis
console.log(exampleParsed)