with Lamini and Formatting?
Emit new events with the status of a training job. See the documentation
Create a fine-tuning job with a dataset. See the documentation
Generate completions using a Lamini model. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lamini: {
type: "app",
app: "lamini",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lamini.ai/v2/classifier/projects`,
headers: {
Authorization: `Bearer ${this.lamini.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})