QGPTTaskPipelineForCodeExplanation
This task is for explaining a bit of code. This is a class so that we can add optional properties in the future. Note: the snippet && language that needs to be explaned should be within the QGPTQuestionInput.relevant
Properties
Name | Type |
---|---|
schema | EmbeddedModelSchema |
Example
import { QGPTTaskPipelineForCodeExplanation } from '@pieces.app/pieces-os-client'
// TODO: Update the object below with actual values
const example: QGPTTaskPipelineForCodeExplanation = {
"schema": 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 QGPTTaskPipelineForCodeExplanation
console.log(exampleParsed)