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
{{ message }}
Repository navigation
Commit 9bae7f3
Browse filesBrowse the repository at this point in the historyBrowse files
ci.datadog-api-spec
committed
Regenerate client from commit 08dc061 of spec repo
description: A single chat message in a prompt template.
63773
63793
properties:
@@ -63891,6 +63911,47 @@ components:
63891
63911
required:
63892
63912
- id
63893
63913
type: object
63914
+
LLMObsPromptInclude:
63915
+
additionalProperties: false
63916
+
description: >-
63917
+
An explicitly versioned prompt included as chat items. Omitting `items` includes every child message in its original order. When `items` is present, its zero-based indexes are inserted in the order provided; duplicate indexes are preserved.
63918
+
properties:
63919
+
items:
63920
+
description: Optional ordered zero-based child-message indexes. Order and duplicate indexes are preserved.
63921
+
items:
63922
+
format: int64
63923
+
maximum: 2147483647
63924
+
minimum: 0
63925
+
type: integer
63926
+
minItems: 1
63927
+
type: array
63928
+
prompt_id:
63929
+
description: >-
63930
+
Customer-provided identifier of the included prompt. It cannot contain spaces, tabs, line breaks, braces, an equals sign, a comma, or quotes.
63931
+
example: "response-policy"
63932
+
minLength: 1
63933
+
pattern: "^[^\\s{}=,\"']+$"
63934
+
type: string
63935
+
version:
63936
+
description: Positive sequential version number of the included prompt.
63937
+
example: 3
63938
+
format: int64
63939
+
maximum: 2147483647
63940
+
minimum: 1
63941
+
type: integer
63942
+
required:
63943
+
- prompt_id
63944
+
- version
63945
+
type: object
63946
+
LLMObsPromptIncludeItem:
63947
+
additionalProperties: false
63948
+
description: An explicitly versioned whole-chat or selective-message include.
63949
+
properties:
63950
+
include:
63951
+
$ref: "#/components/schemas/LLMObsPromptInclude"
63952
+
required:
63953
+
- include
63954
+
type: object
63894
63955
LLMObsPromptResponse:
63895
63956
description: Response containing a single Agent Observability prompt.
63896
63957
example:
@@ -63995,11 +64056,13 @@ components:
63995
64056
- data
63996
64057
type: object
63997
64058
LLMObsPromptTemplate:
63998
-
description: A text template or a list of chat messages.
64059
+
description: >-
64060
+
A text template, a list of chat messages, or an authored chat object. Text can include an exact prompt version with `{{>prompt-id version=N}}`. Use an authored chat object when including prompts as chat messages.
63999
64061
example: "You are a helpful assistant for {{audience}}."
description: Attributes of a specific version of an Agent Observability prompt.
64096
+
description: >-
64097
+
Attributes of a specific version of an Agent Observability prompt. For a composed version, `authoring_template` contains its pinned include-bearing source; ordinary versions omit that attribute.
64034
64098
properties:
64035
64099
author:
64036
64100
description: UUID of the user who authored this version.
64037
64101
type: string
64102
+
authoring_template:
64103
+
$ref: "#/components/schemas/LLMObsPromptTemplate"
64038
64104
created_at:
64039
64105
description: Timestamp stored on this prompt version.
64040
64106
format: date-time
@@ -173374,6 +173440,31 @@ paths:
173374
173440
content:
173375
173441
application/json:
173376
173442
examples:
173443
+
composed_chat:
173444
+
summary: Create a version with whole-chat and selective pinned includes
173445
+
value:
173446
+
data:
173447
+
attributes:
173448
+
template:
173449
+
messages:
173450
+
- include:
173451
+
prompt_id: "assistant-introduction"
173452
+
version: 2
173453
+
- include:
173454
+
items: [2, 0, 0]
173455
+
prompt_id: "response-examples"
173456
+
version: 4
173457
+
- content: "Answer {{question}}."
173458
+
role: "user"
173459
+
type: prompt-template-versions
173460
+
composed_text:
173461
+
summary: Create a version with an inline pinned include
0 commit comments