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 41ed599
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(specs): clarify when _extra and _injectedItemKey are present on hits (#7031)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Clara Muller <5667350+ClaraMuller@users.noreply.github.com>
Copy file name to clipboardExpand all lines: specs/composition/common/schemas/responses/runResponseComponents/Hit.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ hit:
24
24
25
25
hitMetadata:
26
26
type: object
27
-
description: An object that contains the extra key-value pairs provided in the injectedItem definition.
27
+
description: An object that contains the extra key-value pairs provided in the injectedItem definition. Only present on hits inserted by an injectedItem that defines metadata, either in its `metadata` field or sent by an external source.
28
28
additionalProperties: true
29
29
properties:
30
30
_injectedItemKey:
31
31
type: string
32
-
description: The key of the injectedItem that inserted this metadata.
32
+
description: The key of the injectedItem that inserted this metadata. Only present when the injectedItem's `metadata.hits.addItemKey` is `true`.
0 commit comments