with TestLocally and OpenAI Passthrough?
Emit new event when a new test is run or completed in TestLocally. See the documentation
Get details of a specific test in TestLocally. See the documentation
The Chat API, using the gpt-3.5-turbo
or gpt-4
model. See the documentation
Summarizes text using the OpenAI API. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
testlocally: {
type: "app",
app: "testlocally",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://testlocal.ly/api/v0/me`,
headers: {
Authorization: `Bearer ${this.testlocally.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
export default defineComponent({
props: {
openai_passthrough: {
type: "app",
app: "openai_passthrough",
}
},
async run({steps, $}) {
},
})