Class: Langfuse::PromptRenderer Private
- Inherits:
-
Mustache
- Object
- Mustache
- Langfuse::PromptRenderer
- Defined in:
- lib/langfuse/prompt_renderer.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Renders prompt templates with Langfuse SDK-compatible variable semantics.
Instance Method Summary collapse
-
#escape(value) ⇒ String
private
Langfuse variables are model input, not browser output; JS/Python SDKs substitute raw values.
Instance Method Details
#escape(value) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Langfuse variables are model input, not browser output; JS/Python SDKs substitute raw values.
14 15 16 |
# File 'lib/langfuse/prompt_renderer.rb', line 14 def escape(value) value.to_s end |