Compose and iterate prompts, then easily deploy them in any LLM call with the AI Gateway.
Create a Prompt
Test and Iterate
Run Prompt with AI Gateway
{{hc:name:type}}
where:
name
is your variable identifiertype
defines the expected data typeType | Description | Example Values | Validation |
---|---|---|---|
string | Text values | "John Doe" , "Hello world" | None |
number | Numeric values | 25 , 3.14 , -10 | AI Gateway type-checking |
boolean | True/false values | true , false , "yes" , "no" | AI Gateway type-checking |
your_type_name | Any data type | Objects, arrays, strings | None |
number
and boolean
types are validated by the Helicone AI Gateway, which will accept strings for any input as long as they can be converted to valid values.true
/ false
(boolean)"yes"
/ "no"
(string)"true"
/ "false"
(string)Type | Description | Use Case |
---|---|---|
HeliconeChatCreateParams | Standard chat completions with prompts | Non-streaming requests |
HeliconeChatCreateParamsStreaming | Streaming chat completions with prompts | Streaming requests |
prompt_id
- Your saved prompt identifierversion_id
- Optional specific version (defaults to production version)inputs
- Variable values.