You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/llm_observability/instrumentation/api.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,6 +178,26 @@ If the request is successful, the API responds with a 202 network code and an em
178
178
| context_variable_keys |[string]| Variable keys that contain ground-truth or context content. Used for hallucination detection. |
179
179
| tags | Dict[key (string), string]| Tags to attach to the prompt run. |
180
180
181
+
**Note**: LLM Observability registers new versions of templates when the template or chat_template value is updated. If the input is expected to change between invocations, extract those dynamic parts into a variable.
182
+
183
+
{{< code-block lang="json" >}}
184
+
{
185
+
"id": "translation-prompt",
186
+
"chat_template": [
187
+
{
188
+
"role": "system",
189
+
"content": "You are a translation service. You translate to {{language}}."
0 commit comments