RunPrompt@1
Custom AI Prompt
Executes configurable AI prompts with structured output fields.
AI
Provider Options
Provider | Credentials | Cost per record |
---|---|---|
P pipe0 | Managed | 0.5 credits |
Flexible Input/Output Fields
This pipe supports flexible input and output fields that can be fully defined by the user.
Code Example
const result = await fetch("https://api.pipe0.com/v1/run/sync", {
method: "POST",
headers: {
"Authorization": `Bearer ${API_KEY}`,
},
body: JSON.stringify({
pipes: [{
name: "RunPrompt@1",
// passing a config is optional
config: {
"prompt": "Provide a meaningful prompt {{ output value description=\"A random number between 1 and 10.\" type=\"number\" required=\"true\" }}"
}
}],
input: []
})
});
Last updated on