Skip to content

Commit 3b80b76

Browse files
committed
tabbed
1 parent d0e5307 commit 3b80b76

File tree

1 file changed

+5
-0
lines changed
  • content/en/llm_observability/instrumentation

1 file changed

+5
-0
lines changed

content/en/llm_observability/instrumentation/api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ If the request is successful, the API responds with a 202 network code and an em
167167
| id | string | The id of this document. |
168168

169169
#### Prompt
170+
{{< tabs >}}
171+
{{% tab "Model" %}}
170172
| Field | Type | Description |
171173
|----------------------|--------|--------------------------|
172174
| id | string | Logical identifier for this prompt template. Should be unique per `ml_app`. |
@@ -180,6 +182,8 @@ If the request is successful, the API responds with a 202 network code and an em
180182

181183
**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.
182184

185+
{{% /tab %}}
186+
{{% tab "Example" %}}
183187
{{< code-block lang="json" >}}
184188
{
185189
"id": "translation-prompt",
@@ -198,6 +202,7 @@ If the request is successful, the API responds with a 202 network code and an em
198202
}
199203
}
200204
{{< /code-block >}}
205+
{{% /tab %}}
201206

202207
#### Meta
203208
| Field | Type | Description |

0 commit comments

Comments
 (0)