We’re excited to launch Auto-Improve, an intelligent prompt optimization tool that helps you write more effective LLM prompts. While traditional prompt engineering requires extensive trial and error, Auto-Improve analyzes your prompts and suggests improvements instantly.
API Migration Notice: We are actively working on a new Router project that
will include an updated Generate API. While the previous Generate API
(legacy) is still functional (see the notice on
that page for deprecation timelines), here’s a temporary way to import and use
your UI-managed prompts directly in your code in the meantime:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Helicone OSS LLM Observability","colors":{"primary":"#0CA5E9","light":"#0CA5E9","dark":"#0CA5E9"},"logo":{"light":"https://mintcdn.com/helicone/H0xDJmuTzfSrq5RW/logo/light.png?fit=max\u0026auto=format\u0026n=H0xDJmuTzfSrq5RW\u0026q=85\u0026s=748e5ab8e134752664c5847901a2cb8c","dark":"https://mintcdn.com/helicone/ktsfjvmR-7Ek3jBs/logo/dark.svg?fit=max\u0026auto=format\u0026n=ktsfjvmR-7Ek3jBs\u0026q=85\u0026s=f314847a2d2d458bc4725e80a5ff0c75"},"favicon":"https://mintcdn.com/helicone/uGUq-phGm2BuL59s/favicon.svg?fit=max\u0026auto=format\u0026n=uGUq-phGm2BuL59s\u0026q=85\u0026s=4fbb91a7620064003994e235f99335e1","api":{"openapi":["swagger.json","ai-gateway.openapi.json"]},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://helicone.ai/models","label":"Models"},{"href":"https://discord.com/invite/zsSTcH2qhG","label":"Discord"},{"href":"https://github.com/Helicone/helicone","label":"Github"}],"primary":{"type":"button","label":"Dashboard","href":"https://us.helicone.ai/#:~:text=Discord-,Sign,-In"}},"footer":{"socials":{"twitter":"https://twitter.com/helicone_ai","linkedin":"https://www.linkedin.com/company/helicone/about","github":"https://github.com/Helicone/helicone","discord":"https://discord.com/invite/zsSTcH2qhG"}},"seo":{"metatags":{"og:site_name":"Helicone OSS LLM Observability","og:image":"/favicon.svg","twitter:site":"@helicone_ai","twitter:image":"/favicon.svg"},"indexing":"navigable"},"integrations":{"koala":{"publicApiKey":"pk_28dd6b0bb95629a42e92bd526a1234a9fc79"},"posthog":{"apiKey":"phc_jeluwNoJNpc7zEzkQrPbjyMOqdnJQjFAVr849LaEaPG"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"helicone","hasAudioNarration":false,"actualSubdomain":"helicone","customDomains":["docs.helicone.ai"],"gitSource":{"type":"github","owner":"helicone","repo":"helicone","deployBranch":"main","contentDirectory":"docs","mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad65e5e472882c577f682ba","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Documentation","count":131},{"language":"default","tag":"Legacy Integrations","count":65},{"language":"default","tag":"Guides","count":62},{"language":"default","tag":"Provider-Specific","count":50},{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"AI Gateway","count":30},{"language":"default","tag":"Prompts","count":19},{"language":"default","tag":"Observability \u0026 Analytics","count":18},{"language":"default","tag":"References","count":15},{"language":"default","tag":"How-to Guides","count":15}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@helicone.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-bash","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"selectively-prewarm","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"features/prompts-legacy/editor","slug":"/features/prompts-legacy/editor","pageMetadata":{"title":"Editor","sidebarTitle":"UI Managed","description":"Design, version, and manage your prompts collaboratively, then [effortlessly deploy them across your app](/features/prompts/generate).","twitter:title":"Prompts | Helicone OSS LLM Observability","href":"/features/prompts-legacy/editor"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Design, version, and manage your prompts collaboratively, then \", _jsx(_components.a, {\n href: \"/features/prompts/generate\",\n children: \"effortlessly deploy them across your app\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,h5:`h5`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This version of prompts is deprecated.`}),` It will remain available for existing users until August 20th, 2025.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`build-and-deploy-production-ready-prompts`,children:`Build and Deploy Production-Ready Prompts`}),`\n`,_jsx(_components.p,{children:`The Helicone Prompt Editor enables you to:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Design prompts collaboratively in a UI`}),`\n`,_jsx(_components.li,{children:`Create templates with variables and track real production inputs`}),`\n`,_jsx(_components.li,{children:`Connect to any major AI provider (Anthropic, OpenAI, Google, Meta, DeepSeek and more)`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsxs(`video`,{width:`100%`,autoPlay:true,loop:true,muted:true,playsInline:true,children:[_jsx(`source`,{src:`https://marketing-assets-helicone.s3.us-west-2.amazonaws.com/prompts1_2.mp4`,type:`video/mp4`}),_jsx(OptimizedImage,{src:`https://mintlify.s3.us-west-1.amazonaws.com/helicone/static/features/prompts/feature1.png`,alt:`Prompt building interface`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`version-control-for-your-prompts`,children:`Version Control for Your Prompts`}),`\n`,_jsx(_components.p,{children:`Take full control of your prompt versions:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Track versions automatically in code or manually in UI`}),`\n`,_jsx(_components.li,{children:`Switch, promote, or rollback versions instantly`}),`\n`,_jsx(_components.li,{children:`Deploy any version using just the prompt ID`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsxs(`video`,{width:`100%`,autoPlay:true,loop:true,muted:true,playsInline:true,children:[_jsx(`source`,{src:`https://marketing-assets-helicone.s3.us-west-2.amazonaws.com/prompts2_2.mp4`,type:`video/mp4`}),_jsx(OptimizedImage,{src:`https://mintlify.s3.us-west-1.amazonaws.com/helicone/static/features/prompts/feature2.png`,alt:`Version control interface`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`prompt-editor-copilot`,children:`Prompt Editor Copilot`}),`\n`,_jsx(_components.p,{children:`Write prompts faster and more efficiently:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Get auto-complete and smart suggestions`}),`\n`,_jsx(_components.li,{children:`Add variables (⌘E) and XML delimiters (⌘J) with quick shortcuts`}),`\n`,_jsx(_components.li,{children:`Perform any edits you describe with natural language (⌘K)`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsxs(`video`,{width:`100%`,autoPlay:true,loop:true,muted:true,playsInline:true,children:[_jsx(`source`,{src:`https://marketing-assets-helicone.s3.us-west-2.amazonaws.com/prompts3_2.mp4`,type:`video/mp4`}),_jsx(OptimizedImage,{src:`https://mintlify.s3.us-west-1.amazonaws.com/helicone/static/features/prompts/feature3.png`,alt:`Prompt testing interface`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`real-time-testing`,children:`Real-Time Testing`}),`\n`,_jsx(_components.p,{children:`Test and refine your prompts instantly:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Edit and run prompts side-by-side with instant feedback`}),`\n`,_jsx(_components.li,{children:`Experiment with different models, messages, temperatures, and parameters`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsxs(`video`,{width:`100%`,autoPlay:true,loop:true,muted:true,playsInline:true,children:[_jsx(`source`,{src:`https://marketing-assets-helicone.s3.us-west-2.amazonaws.com/prompts4_2.mp4`,type:`video/mp4`}),_jsx(OptimizedImage,{src:`https://mintlify.s3.us-west-1.amazonaws.com/helicone/static/features/prompts/feature4.png`,alt:`Prompt testing interface`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`auto-improve-beta`,children:`Auto-Improve (Beta)`}),`\n`,_jsx(_components.p,{children:`We’re excited to launch Auto-Improve, an intelligent prompt optimization tool that helps you write more effective LLM prompts. While traditional prompt engineering requires extensive trial and error, Auto-Improve analyzes your prompts and suggests improvements instantly.`}),`\n`,_jsx(Heading,{level:`3`,id:`how-it-works`,children:`How it Works`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Click the Auto-Improve button in the Helicone Prompt Editor`}),`\n`,_jsxs(_components.li,{children:[`Our AI analyzes each sentence of your prompt to understand:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The semantic interpretation`}),`\n`,_jsx(_components.li,{children:`Your instructional intent`}),`\n`,_jsx(_components.li,{children:`Potential areas for enhancement`}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`Get a new suggested optimized version of your prompt`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/helicone/WIDUeIzURs2yWBd-/images/prompts/auto-improve.webp?fit=max\u0026auto=format\u0026n=WIDUeIzURs2yWBd-\u0026q=85\u0026s=ee3394cfec5b553c7bbd0991608ceb15`,alt:`Auto-Improve feature interface`,\"data-og-width\":`2588`,width:`2588`,\"data-og-height\":`1686`,height:`1686`,\"data-path\":`images/prompts/auto-improve.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/helicone/WIDUeIzURs2yWBd-/images/prompts/auto-improve.webp?w=280\u0026fit=max\u0026auto=format\u0026n=WIDUeIzURs2yWBd-\u0026q=85\u0026s=431fe7a03ad79f1b2b850a19f44c8343 280w, https://mintcdn.com/helicone/WIDUeIzURs2yWBd-/images/prompts/auto-improve.webp?w=560\u0026fit=max\u0026auto=format\u0026n=WIDUeIzURs2yWBd-\u0026q=85\u0026s=a57e285bb29c1354f0ddc8e102a7e6d9 560w, https://mintcdn.com/helicone/WIDUeIzURs2yWBd-/images/prompts/auto-improve.webp?w=840\u0026fit=max\u0026auto=format\u0026n=WIDUeIzURs2yWBd-\u0026q=85\u0026s=213994a37656637156c158b357bbdd8b 840w, https://mintcdn.com/helicone/WIDUeIzURs2yWBd-/images/prompts/auto-improve.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=WIDUeIzURs2yWBd-\u0026q=85\u0026s=a55dc95da6a85130cb462e343f778d55 1100w, https://mintcdn.com/helicone/WIDUeIzURs2yWBd-/images/prompts/auto-improve.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=WIDUeIzURs2yWBd-\u0026q=85\u0026s=2c0fea1ccdd340b4bbeb66b93ee9a02a 1650w, https://mintcdn.com/helicone/WIDUeIzURs2yWBd-/images/prompts/auto-improve.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=WIDUeIzURs2yWBd-\u0026q=85\u0026s=ba2649759259ca45c22a4291cc47c1f0 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`key-benefits`,children:`Key Benefits`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Semantic Analysis`}),`: Goes beyond simple text improvements by understanding the purpose behind each instruction`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Maintains Intent`}),`: Preserves your original goals while enhancing how they’re communicated`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Time Saving`}),`: Skip hours of prompt iteration and testing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Learning Tool`}),`: Understand what makes an effective prompt by comparing your original with the improved version`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`using-prompts-in-your-code`,children:`Using Prompts in Your Code`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`API Migration Notice:`}),` We are actively working on a new Router project that\nwill include an updated Generate API. While the previous `,_jsx(_components.a,{href:`/features/prompts/generate`,children:`Generate API\n(legacy)`}),` is still functional (see the notice on\nthat page for deprecation timelines), here’s a temporary way to import and use\nyour UI-managed prompts directly in your code in the meantime:`]})}),`\n`,_jsx(Heading,{level:`3`,id:`for-openai-users-or-azure`,children:`For OpenAI users or Azure`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` openai = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OpenAI({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` baseURL: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://generate.helicone.ai/v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` defaultHeaders: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Helicone-Auth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Bearer ${process.env.HELICONE_API_KEY}`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OPENAI_API_KEY: process.env.OPENAI_API_KEY,`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // For Azure users`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AZURE_API_KEY: process.env.AZURE_API_KEY,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AZURE_REGION: process.env.AZURE_REGION,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AZURE_PROJECT: process.env.AZURE_PROJECT,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AZURE_LOCATION: process.env.AZURE_LOCATION,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` openai.chat.completions.create({`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` inputs: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` number: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"world\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` promptId: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"helicone-test\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` any);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`using-api-to-pull-down-the-compiled-prompt-templates`,children:`Using API to pull down the compiled prompt templates`}),`\n`,_jsx(_components.h5,{children:`Step 1: Get the compile the prompt template`}),`\n`,_jsx(_components.p,{children:`Bash exmaple`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --request POST \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --url https://api.helicone.ai/v1/prompt/helicone-test/compile \\\\`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"authorization: $HELICONE_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filter\": \"all\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"includeExperimentVersions\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"inputs\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"number\": \"10\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Javascript example with openai`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` promptTemplate = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fetch(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.helicone.ai/v1/prompt/helicone-test/compile\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` method: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` authorization: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sk-helicone-n4vqkhi-gg6exli-teictoi-aw7azyy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body: JSON.stringify({`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` filter: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"all\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` includeExperimentVersions: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` inputs: { number: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// place all of your inputs here`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).then((res) => res.json() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` any);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` example = (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` openai.chat.completions.create({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ...(promptTemplate.data.prompt_compiled `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` any),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` stream: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// or true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` any;`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Editor","sidebarTitle":"UI Managed","description":"Design, version, and manage your prompts collaboratively, then [effortlessly deploy them across your app](/features/prompts/generate).","twitter:title":"Prompts | Helicone OSS LLM Observability","href":"/features/prompts-legacy/editor"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Build and Deploy Production-Ready Prompts","slug":"build-and-deploy-production-ready-prompts","depth":2,"children":[]},{"title":"Version Control for Your Prompts","slug":"version-control-for-your-prompts","depth":2,"children":[]},{"title":"Prompt Editor Copilot","slug":"prompt-editor-copilot","depth":2,"children":[]},{"title":"Real-Time Testing","slug":"real-time-testing","depth":2,"children":[]},{"title":"Auto-Improve (Beta)","slug":"auto-improve-beta","depth":2,"children":[{"title":"How it Works","slug":"how-it-works","depth":3,"children":[]},{"title":"Key Benefits","slug":"key-benefits","depth":3,"children":[]}]},{"title":"Using Prompts in Your Code","slug":"using-prompts-in-your-code","depth":2,"children":[{"title":"For OpenAI users or Azure","slug":"for-openai-users-or-azure","depth":3,"children":[]},{"title":"Using API to pull down the compiled prompt templates","slug":"using-api-to-pull-down-the-compiled-prompt-templates","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"helicone","siteName":"Helicone OSS LLM Observability","title":"Editor - Helicone OSS LLM Observability","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-06T00:00:47.827Z","originalFileLocation":"features/prompts-legacy/editor.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Design, version, and manage your prompts collaboratively, then effortlessly deploy them across your app.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Helicone OSS LLM Observability\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Editor - Helicone OSS LLM Observability\">\u003cmeta data-mint-head property=\"og:description\" content=\"Design, version, and manage your prompts collaboratively, then effortlessly deploy them across your app.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Helicone OSS LLM Observability\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.helicone.ai/features/prompts-legacy/editor\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://helicone.mintlify.site/favicon.svg\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Prompts | Helicone OSS LLM Observability\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Design, version, and manage your prompts collaboratively, then effortlessly deploy them across your app.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://helicone.mintlify.site/favicon.svg\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/helicone/My8DBiBXkkatGWhp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Helicone OSS LLM Observability\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0CA5E9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.helicone.ai/features/prompts-legacy/editor\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/features/prompts-legacy/editor.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.helicone.ai/#organization\",\"name\":\"Helicone OSS LLM Observability\",\"url\":\"https://docs.helicone.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/helicone/H0xDJmuTzfSrq5RW/logo/light.png?fit=max\u0026auto=format\u0026n=H0xDJmuTzfSrq5RW\u0026q=85\u0026s=748e5ab8e134752664c5847901a2cb8c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.helicone.ai#website\",\"name\":\"Helicone OSS LLM Observability\",\"url\":\"https://docs.helicone.ai\",\"publisher\":{\"@id\":\"https://docs.helicone.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.helicone.ai/features/prompts-legacy/editor#webpage\",\"url\":\"https://docs.helicone.ai/features/prompts-legacy/editor\",\"name\":\"Editor\",\"description\":\"Design, version, and manage your prompts collaboratively, then effortlessly deploy them across your app.\",\"dateModified\":\"2026-03-06T00:00:47.827Z\",\"isPartOf\":{\"@id\":\"https://docs.helicone.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.helicone.ai/features/prompts-legacy/editor#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.helicone.ai/features/prompts-legacy/editor#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"References\",\"item\":\"https://docs.helicone.ai/getting-started/self-host/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Editor\",\"item\":\"https://docs.helicone.ai/features/prompts-legacy/editor\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.helicone.ai/features/prompts-legacy/editor#article\",\"headline\":\"Editor\",\"name\":\"Editor\",\"description\":\"Design, version, and manage your prompts collaboratively, then effortlessly deploy them across your app.\",\"url\":\"https://docs.helicone.ai/features/prompts-legacy/editor\",\"mainEntityOfPage\":{\"@id\":\"https://docs.helicone.ai/features/prompts-legacy/editor#webpage\"},\"image\":\"https://docs.helicone.ai/favicon.svg\",\"dateModified\":\"2026-03-06T00:00:47.827Z\",\"publisher\":{\"@id\":\"https://docs.helicone.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.helicone.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Helicone OSS LLM Observability\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Helicone OSS LLM Observability\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/features/prompts-legacy/editor.md","siteName":"Helicone OSS LLM Observability","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/getting-started/quick-start"},{"title":"Platform Overview","sidebarTitle":"Platform Overview","href":"/getting-started/platform-overview"}]},{"group":"AI Gateway","pages":[{"title":"AI Gateway Overview","sidebarTitle":"Overview","href":"/gateway/overview"},{"title":"Provider Routing","sidebarTitle":"Provider Routing","href":"/gateway/provider-routing"},{"title":"Prompt Management","sidebarTitle":"Prompt Management","href":"/gateway/prompt-integration"},{"title":"LLM Caching","sidebarTitle":"Caching","href":"/features/advanced-usage/caching"},{"title":"Custom LLM Rate Limits","sidebarTitle":"Custom Rate Limits","href":"/features/advanced-usage/custom-rate-limits"},{"title":"LLM Security","sidebarTitle":"LLM Security","href":"/features/advanced-usage/llm-security"},{"title":"Token Limit Exception Handlers","sidebarTitle":"Large Context","href":"/features/advanced-usage/token-limit-exception-handlers"},{"group":"Provider Concepts","pages":[{"title":"Prompt Caching","href":"/gateway/concepts/prompt-caching"},{"title":"Reasoning","href":"/gateway/concepts/reasoning"},{"title":"Image Generation","href":"/gateway/concepts/image-generation"},{"title":"Context Editing","href":"/gateway/concepts/context-editing"},{"title":"Web Search","sidebarTitle":"Web Search","href":"/gateway/web-search"},{"title":"Error Handling \u0026 Fallback","href":"/gateway/concepts/error-handling"},{"title":"Responses API","href":"/gateway/concepts/responses-api"}]},{"group":"Integrations","pages":[{"title":"Integrations Overview","sidebarTitle":"Overview","href":"/gateway/integrations/overview"},{"title":"Claude Agent SDK Integration","sidebarTitle":"Claude Agent SDK","iconType":"solid","href":"/gateway/integrations/claude-agent-sdk"},{"title":"OpenAI Codex","sidebarTitle":"Codex","iconType":"solid","href":"/gateway/integrations/codex"},{"title":"DSPy","sidebarTitle":"DSPy","iconType":"solid","href":"/gateway/integrations/dpsy"},{"title":"LlamaIndex Integration","sidebarTitle":"LlamaIndex","href":"/gateway/integrations/llamaindex"},{"title":"LangChain Integration","sidebarTitle":"LangChain","iconType":"solid","href":"/gateway/integrations/langchain"},{"title":"Langfuse Integration","sidebarTitle":"Langfuse","iconType":"solid","href":"/gateway/integrations/langfuse"},{"title":"LangGraph Integration","sidebarTitle":"LangGraph","iconType":"solid","href":"/gateway/integrations/langgraph"},{"title":"LiteLLM Integration","sidebarTitle":"LiteLLM","iconType":"solid","href":"/gateway/integrations/litellm"},{"title":"LlamaIndex Integration","sidebarTitle":"LlamaIndex","href":"/gateway/integrations/llamaindex"},{"title":"OpenAI Agents Integration","sidebarTitle":"OpenAI Agents","iconType":"solid","href":"/gateway/integrations/openai-agents"},{"title":"n8n Integration","sidebarTitle":"n8n","href":"/gateway/integrations/n8n"},{"title":"PostHog Integration","sidebarTitle":"PostHog","iconType":"solid","href":"/gateway/integrations/posthog"},{"title":"Semantic Kernel Integration","sidebarTitle":"Semantic Kernel","iconType":"solid","href":"/gateway/integrations/semantic-kernel"},{"title":"Vercel AI SDK Integration","sidebarTitle":"Vercel AI SDK","iconType":"solid","href":"/gateway/integrations/vercel-ai-sdk"},{"title":"Zapier Integration","sidebarTitle":"Zapier","href":"/gateway/integrations/zapier"}]}]},{"group":"Observability \u0026 Analytics","pages":[{"title":"Custom Properties","sidebarTitle":"Custom Properties","href":"/features/advanced-usage/custom-properties"},{"title":"Sessions","sidebarTitle":"Sessions","href":"/features/sessions"},{"title":"User Metrics \u0026 Analytics","sidebarTitle":"User Metrics","href":"/features/advanced-usage/user-metrics"},{"title":"Cost Tracking \u0026 Optimization","sidebarTitle":"Cost Tracking","href":"/guides/cookbooks/cost-tracking"},{"title":"Datasets","sidebarTitle":"Datasets","href":"/features/datasets"},{"title":"Alerts","sidebarTitle":"Alerts","href":"/features/alerts"},{"title":"Reports","sidebarTitle":"Reports","href":"/features/reports"},{"title":"HQL (Helicone Query Language)","sidebarTitle":"HQL","href":"/features/hql"},{"title":"Eval Scores","sidebarTitle":"Eval Scores","href":"/features/advanced-usage/scores"},{"title":"User Feedback","sidebarTitle":"User Feedback","href":"/features/advanced-usage/feedback"},{"group":"Webhooks","pages":[{"title":"Webhooks","sidebarTitle":"Webhooks","href":"/features/webhooks"},{"title":"Webhooks Local Testing","sidebarTitle":"Webhooks Local Testing","href":"/features/webhooks-testing"}]},{"group":"Tools","pages":[{"title":"Trace Tools with cURL","sidebarTitle":"cURL","href":"/integrations/tools/curl"},{"title":"Trace Tools with the Logger SDK","sidebarTitle":"Logger SDK","href":"/integrations/tools/logger-sdk"},{"title":"Helicone MCP Server","sidebarTitle":"MCP","href":"/integrations/tools/mcp"},{"title":"Xcode Integration (AI Gateway)","sidebarTitle":"Xcode","href":"/integrations/tools/xcode"}]},{"group":"Vector DB","pages":[{"title":"Vector DB tracing with cURL","sidebarTitle":"cURL","href":"/integrations/vectordb/curl"},{"title":"Trace Any Vector DB interactions","sidebarTitle":"Logger SDK","href":"/integrations/vectordb/logger-sdk"}]}]},{"group":"Prompt Management","pages":[{"title":"Prompt Management Overview","sidebarTitle":"Overview","href":"/features/advanced-usage/prompts/overview"},{"title":"Prompt Assembly","sidebarTitle":"Prompt Assembly","href":"/features/advanced-usage/prompts/assembly"},{"title":"SDK Integration","sidebarTitle":"SDK Integration","href":"/features/advanced-usage/prompts/sdk"}]},{"group":"Legacy Integrations","pages":[{"title":"Legacy Integrations","sidebarTitle":"Overview","href":"/integrations/overview"},{"group":"Provider-Specific","pages":[{"group":"Anthropic","pages":[{"title":"Anthropic cURL Integration","sidebarTitle":"cURL","icon":"code","iconType":"solid","href":"/integrations/anthropic/curl"},{"title":"Anthropic JavaScript SDK Integration","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/anthropic/javascript"},{"title":"Anthropic LangChain Integration","sidebarTitle":"LangChain","icon":"bird","iconType":"solid","href":"/integrations/anthropic/langchain"},{"title":"Anthropic Python SDK Integration","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/anthropic/python"},{"title":"Claude Code","sidebarTitle":"Claude Code","icon":"plug","iconType":"solid","href":"/integrations/anthropic/claude-code"}]},{"title":"Anyscale Integration","sidebarTitle":"Anyscale","href":"/getting-started/integration-method/anyscale"},{"group":"AWS Bedrock","pages":[{"title":"AWS Bedrock JavaScript SDK Integration","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/bedrock/javascript"},{"title":"AWS Bedrock Python SDK Integration","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/bedrock/python"}]},{"group":"Azure OpenAI","pages":[{"title":"Azure OpenAI with cURL","sidebarTitle":"cURL","icon":"code","iconType":"solid","href":"/integrations/azure/curl"},{"title":"Azure OpenAI with JavaScript","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/azure/javascript"},{"title":"Azure OpenAI with LangChain","sidebarTitle":"LangChain","icon":"bird","iconType":"solid","href":"/integrations/azure/langchain"},{"title":"Azure OpenAI with Python","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/azure/python"}]},{"title":"Deepinfra Integration","sidebarTitle":"Deepinfra","href":"/getting-started/integration-method/deepinfra"},{"title":"DeepSeek AI Integration","sidebarTitle":"DeepSeek AI","href":"/getting-started/integration-method/deepseek"},{"group":"Gemini","pages":[{"group":"API","pages":[{"title":"Gemini AI cURL Integration","sidebarTitle":"cURL","icon":"code","iconType":"solid","href":"/integrations/gemini/api/curl"},{"title":"Gemini JavaScript SDK Integration","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/gemini/api/javascript"},{"title":"Gemini Python SDK Integration","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/gemini/api/python"}]},{"group":"Vertex AI (Enterprise)","pages":[{"title":"Vertex AI cURL Integration","sidebarTitle":"cURL","icon":"code","iconType":"solid","href":"/integrations/gemini/vertex/curl"},{"title":"Vertex AI JavaScript SDK Integration","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/gemini/vertex/javascript"},{"title":"Vertex AI Python SDK Integration","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/gemini/vertex/python"}]}]},{"group":"Groq","pages":[{"title":"Groq cURL Integration","sidebarTitle":"cURL","icon":"code","iconType":"solid","href":"/integrations/groq/curl"},{"title":"Groq JavaScript SDK Integration","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/groq/javascript"},{"title":"Groq Python SDK Integration","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/groq/python"}]},{"group":"Instructor","pages":[{"title":"Instructor JavaScript SDK Integration","sidebarTitle":"JavaScript","href":"/integrations/instructor/javascript"},{"title":"Instructor Python SDK Integration","sidebarTitle":"Python","href":"/integrations/instructor/python"}]},{"group":"Llama","pages":[{"title":"Llama cURL Integration","sidebarTitle":"cURL Integration","href":"/integrations/llama/curl"},{"title":"Llama JavaScript SDK","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/llama/javascript"},{"title":"Llama Python SDK","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/llama/python"}]},{"title":"Hyperbolic Integration","sidebarTitle":"Hyperbolic","href":"/getting-started/integration-method/hyperbolic"},{"title":"Mistral AI Integration","sidebarTitle":"Mistral AI","href":"/getting-started/integration-method/mistral"},{"title":"Nebius Token Factory Integration","sidebarTitle":"Nebius Token Factory","href":"/getting-started/integration-method/nebius"},{"title":"Novita AI Integration","sidebarTitle":"Novita AI","href":"/getting-started/integration-method/novita"},{"group":"Nvidia","pages":[{"title":"Nvidia NIM cURL Integration","sidebarTitle":"cURL","icon":"code","iconType":"solid","href":"/integrations/nvidia/curl"},{"title":"Nvidia NIM JavaScript SDK","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/nvidia/javascript"},{"title":"Nvidia NIM Python SDK","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/nvidia/python"},{"title":"Nvidia Dynamo Integration","sidebarTitle":"Dynamo","icon":"server","iconType":"solid","href":"/integrations/nvidia/dynamo"}]},{"group":"Ollama","pages":[{"title":"Ollama Javascript Integration","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/ollama/javascript"}]},{"group":"OpenAI","pages":[{"title":"OpenAI with cURL","sidebarTitle":"cURL","icon":"code","iconType":"solid","href":"/integrations/openai/curl"},{"title":"OpenAI JavaScript SDK","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/openai/javascript"},{"title":"OpenAI with LangChain","sidebarTitle":"LangChain","icon":"bird","iconType":"solid","href":"/integrations/openai/langchain"},{"title":"OpenAI with LlamaIndex","sidebarTitle":"LlamaIndex","icon":"horse","iconType":"solid","href":"/integrations/openai/llamaindex"},{"title":"OpenAI Python SDK","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/openai/python"},{"title":"OpenAI Realtime API","sidebarTitle":"Realtime","icon":"microphone","iconType":"solid","href":"/integrations/openai/realtime"},{"title":"OpenAI Responses API","sidebarTitle":"Responses","icon":"plug","iconType":"solid","href":"/integrations/openai/responses"}]},{"title":"OpenRouter Integration","sidebarTitle":"OpenRouter","href":"/getting-started/integration-method/openrouter"},{"title":"Perplexity AI Integration","sidebarTitle":"Perplexity AI","href":"/getting-started/integration-method/perplexity"},{"title":"Together AI Integration","sidebarTitle":"Together AI","href":"/getting-started/integration-method/together"},{"group":"xAI","pages":[{"title":"xAI cURL Integration","sidebarTitle":"cURL","icon":"code","iconType":"solid","href":"/integrations/xai/curl"},{"title":"xAI with OpenAI JavaScript SDK","sidebarTitle":"JavaScript","icon":"js","iconType":"solid","href":"/integrations/xai/javascript"},{"title":"xAI with OpenAI Python SDK","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/integrations/xai/python"}]}]},{"group":"Frameworks","pages":[{"title":"LangGraph Integration","sidebarTitle":"LangGraph","iconType":"solid","href":"/other-integrations/langgraph"},{"title":"LiteLLM Integration with Callbacks","sidebarTitle":"LiteLLM","href":"/getting-started/integration-method/litellm"},{"title":"Vercel AI SDK Integration","sidebarTitle":"Vercel AI SDK","href":"/getting-started/integration-method/vercelai"},{"title":"Crew AI Integration","sidebarTitle":"Crew AI","href":"/getting-started/integration-method/crewai"},{"title":"Dify","sidebarTitle":"Dify","href":"/other-integrations/dify"},{"title":"LlamaIndex Integration","sidebarTitle":"LlamaIndex","href":"/gateway/integrations/llamaindex"},{"title":"Ragas Integration","sidebarTitle":"Ragas","href":"/other-integrations/ragas"}]},{"group":"Async Logging","pages":[{"title":"OpenLLMetry Async Integration","sidebarTitle":"OpenLLMetry","href":"/getting-started/integration-method/openllmetry"},{"group":"Manual Logger","pages":[{"title":"Manual Logger - cURL","sidebarTitle":"cURL","icon":"code","iconType":"solid","href":"/getting-started/integration-method/manual-logger-curl"},{"title":"Manual Logger - TypeScript","sidebarTitle":"TypeScript","icon":"js","iconType":"solid","href":"/getting-started/integration-method/manual-logger-typescript"},{"title":"Manual Logger - Python","sidebarTitle":"Python","icon":"python","iconType":"solid","href":"/getting-started/integration-method/manual-logger-python"},{"title":"Manual Logger - Go","sidebarTitle":"Go","icon":"golang","iconType":"solid","href":"/getting-started/integration-method/manual-logger-go"}]}]},{"group":"Custom Logs","pages":[{"title":"Custom Logs with the Logger SDK","sidebarTitle":"Logger SDK","href":"/integrations/data/logger-sdk"},{"title":"Custom Logs with cURL","sidebarTitle":"cURL","href":"/integrations/data/curl"}]}]},{"group":"References","pages":[{"group":"Self-Hosting","pages":[{"title":"Self-Hosting Helicone","sidebarTitle":"Overview","href":"/getting-started/self-host/overview"},{"title":"Docker","sidebarTitle":"Docker","href":"/getting-started/self-host/docker"},{"title":"Kubernetes Self-Hosting","sidebarTitle":"Kubernetes","href":"/getting-started/self-host/kubernetes"}]},{"title":"How to Integrate a Model Provider to the AI Gateway","sidebarTitle":"Model Provider Integration","href":"/references/provider-integration"},{"title":"PostHog Integration","sidebarTitle":"PostHog","href":"/getting-started/integration-method/posthog"},{"title":"How We Calculate Cost","sidebarTitle":"Cost Calculation","href":"/references/how-we-calculate-cost"},{"title":"Data Security \u0026 Privacy","sidebarTitle":"Data Security \u0026 Privacy","href":"/references/data-autonomy"},{"title":"Helicone Header Directory","sidebarTitle":"Header Directory","href":"/helicone-headers/header-directory"},{"title":"Latency Impact","sidebarTitle":"Latency","href":"/references/latency-affect"},{"title":"Open Source","sidebarTitle":"Open Source","href":"/references/open-source"},{"title":"Proxy vs Async Integration","sidebarTitle":"Proxy vs Async","href":"/references/proxy-vs-async"},{"title":"Availability and Reliability","sidebarTitle":"Reliability","description":"Helicone ensures high availability for your LLM applications using Cloudflare's global network. Learn about our deployment practices and how we maintain reliability.","href":"/references/availability"},{"group":"Legacy Features","pages":[{"title":"Editor","sidebarTitle":"UI Managed","href":"/features/prompts-legacy/editor"},{"title":"Generate API","sidebarTitle":"Generate (legacy)","description":"Deploy your [Editor](/features/prompts/editor) prompts effortlessly with a light and modern package.","href":"/features/prompts-legacy/generate"},{"title":"Moderations","sidebarTitle":"Moderations","href":"/features/advanced-usage/moderations"}]}]}]},{"anchor":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/rest/ai-gateway/post-v1-chat-completions"}]},{"anchor":"Guides","icon":"file-lines","pages":[{"title":"Guides","href":"/guides/overview"}]},{"anchor":"FAQ","icon":"lightbulb"}]},"basePath":"","title":"Editor - Helicone OSS LLM Observability","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-u3J1-UOn.js","DynamicMarkdown-B-f2cqXQ.js","zoom-image-lightbox-DTFzvaXJ.js","lightbox-handle-r17bVUz3.js"]}