{"ref":"content:btp-ai-bp-prompt-templating","page":"/content/btp-ai-bp-prompt-templating","json":"/content/btp-ai-bp-prompt-templating.json","generated":"2026-10-30","drafted_with_ai":true,"entity":{"id":"btp-ai-bp-prompt-templating","title":"Prompt Templating","url":"https://btp-ai-bp.docs.sap/docs/technical-view/generative-ai/plain/prompt-templating","content_type":"doc","explains":[{"ref":"capability:prompt-management","applies_to":{"ecosystems":["btp"]}},"artifact:btp-ai-core"],"offers":["concepts","reference"],"summary":"Prompt templating replaces a static prompt with a structured, reusable template whose placeholders are filled in at runtime, which the page says helps LLM responses stay consistent and lets the same instructions be adapted across tasks. On [SAP AI Core](artifact:btp-ai-core) this is implemented through the Prompt Registry, and the page states that storing prompts as plain strings in code is possible but not recommended. That is [prompt management](capability:prompt-management) as a stored and managed object rather than a string embedded in the caller.","short":"Reusable prompt templates with placeholders filled at runtime","authors":["actor:sap"],"sources":[{"url":"https://btp-ai-bp.docs.sap/docs/technical-view/generative-ai/plain/prompt-templating","title":"Prompt Templating — SAP BTP AI Best Practices","checked":"2026-09-14","quote":"When using AI core this is achieved using the prompt registry. It is also possible to store and manage prompts as strings in code, however it is not recommended."}],"provenance":{"discovered_via":[{"source":"source:curator"}],"first_seen":"2026-09-14"},"drafted_with_ai":true,"published_on":"source:btp-ai-best-practices"},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"unknown","evidence":"no publication date"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"unknown","evidence":"no publication date to compare"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":null,"edges":{"authors":[{"ref":"actor:sap","name":"SAP","json":"/actors/sap.json"}]}}