Helicone Community Page

Updated 4 months ago

Error parsing template

Hey - I followed all docs on using prompts. No matter what I try I get this.
Attachment
Screenshot_2024-08-10_at_9.49.45_PM.png
J
C
5 comments
Hi Conner! Thanks for resporting. Can you share your prompt with us so we can try to reproduce the bug?
Thanks! Can I reach out over dm, or is email better?
We're pretty much just doing
Plain Text
import { hpf } from "@helicone/prompts";

const prompt = hpf`Analyze the following summaries and ...`


const messages: any[] = [
      { role: "system", content: prompt },
      { role: "user", content: data },
 ]

//etc
It completes fine. Accurately tracks amount of requests on Prompts page also. Just doesn't show the actual prompt on the prompt or expirement page and isn't tracking versions either.
Add a reply
Sign up and join the conversation on Discord