with Upstash Redis and Qdrant?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
upstash_redis: {
type: "app",
app: "upstash_redis",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.upstash_redis.$auth.upstash_redis_rest_url}/set/foo/bar`,
headers: {
Authorization: `Bearer ${this.upstash_redis.$auth.uptash_redis_rest_token}`,
},
})
},
})
Qdrant - https://qdrant.tech/ is a high-performance vector search-engine/database.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
qdrant: {
type: "app",
app: "qdrant",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.qdrant.$auth.url}`,
headers: {
"api-key": `${this.qdrant.$auth.api_key}`,
},
})
},
})