The End-to-End AI Automations Platform
Adds data to a knowledge base in VectorShift. See the documentation
Creates a new pipeline in VectorShift. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vectorshift: {
type: "app",
app: "vectorshift",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vectorshift.ai/v1/pipelines`,
headers: {
Authorization: `Bearer ${this.vectorshift.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})