with Formatting and Jina Reader?
Converts a provided URL to an LLM-friendly input using Jina Reader. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jina_reader: {
type: "app",
app: "jina_reader",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://r.jina.ai/https%3A%2F%2Fpipedream.com`,
headers: {
Authorization: `Bearer ${this.jina_reader.$auth.api_key}`,
},
})
},
})