with Agentset and Formatting?
Emit new event when a new document is created. See the documentation
Emit new event when a ingest job is created. See the documentation
Complete retrieval pipeline for RAG with semantic search, filtering, and reranking. See the documentation
Create an ingest job for the authenticated organization. See the documentation
Creates a namespace for the authenticated organization. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agentset: {
type: "app",
app: "agentset",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.agentset.ai/v1/namespace`,
headers: {
Authorization: `Bearer ${this.agentset.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})