import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_302_ai: {
type: "app",
app: "_302_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.302.ai/v1/models`,
headers: {
Authorization: `Bearer ${this._302_ai.$auth.api_key}`,
},
})
},
})
Enable your 302.AI model to invoke user-defined functions. Useful for conditional logic, workflow orchestration, and tool invocation within conversations. See documentation
Send a message to the 302.AI Chat API. Ideal for dynamic conversations, contextual assistance, and creative generation. See documentation
Classify input items into predefined categories using 302.AI models. Perfect for tagging, segmentation, and automated organization. See documentation
Generate vector embeddings from text using the 302.AI Embeddings API. Useful for semantic search, clustering, and vector store indexing. See documentation
Summarize long-form text into concise, readable output using the 302.AI Chat API. Great for reports, content digestion, and executive briefs. See documentation
302.AI uses API keys for authentication. When you connect your 302.AI account, Pipedream securely stores the keys so you can easily authenticate to 302.AI APIs in both code and no-code steps.