OpenWeather provides comprehensive weather data services, including current, forecast, and historical weather information.
Emit new event when a new batch is completed in OpenAI. See the documentation
Emit new event when a new file is created in OpenAI. See the documentation
Emit new event when a new fine-tuning job is created in OpenAI. See the documentation
Emit new event every time a run changes its status. See the documentation
Retrieves the current weather condition by location longitude and latitude. See the docs here. For more accurate reading, you are advised to fill in the country and/or state code
The Chat API, using the gpt-3.5-turbo
or gpt-4
model. See the documentation
Retrieves the current weather for a given (ZIP, country)
Summarizes text using the Chat API. See the documentation
Retrieves 1-16 days weather forecast for a specified location. See the docs here. For more accurate reading, you are advised to fill in the country and/or state code
The OpenWeather API offers real-time weather data, forecasts, and historical information, enabling you to integrate weather conditions into your applications or workflows. With Pipedream, you can harness this data to automate tasks like sending weather updates, triggering actions based on specific weather conditions, or combining it with other data sources to inform decision-making processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openweather_api: {
type: "app",
app: "openweather_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.openweathermap.org/data/2.5/weather`,
params: {
zip: `20500,us`,
appid: `${this.openweather_api.$auth.api_key}`,
},
})
},
})
OpenAI provides a suite of powerful AI models through its API, enabling developers to integrate advanced natural language processing and generative capabilities into their applications. Here’s an overview of the services offered by OpenAI's API:
Use Python or Node.js code to make fully authenticated API requests with your OpenAI account:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openai: {
type: "app",
app: "openai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.openai.com/v1/models`,
headers: {
Authorization: `Bearer ${this.openai.$auth.api_key}`,
},
})
},
})