Skip to content

Commit

Permalink
choice message -> choice event
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Aug 21, 2024
1 parent f468e57 commit 54531dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/gen-ai/gen-ai-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ The event name MUST be `gen_ai.tool.message`.
| `content` | string | The contents of the tool message. | `opentelemetry.io` | `Opt-In` |
| `id` | string | Tool call that this message is responding to. | `call_mszuSIzqtI65i1wAUOE8w5H4` | `Required` |

## Choice message
## Choice event

This event describes the model-generated chat response message (choice).
This event describes model-generated individual chat response (choice).
If GenAI model returns multiple choices, each choice SHOULD be recorded as an individual event.

When response is streamed, instrumentations that report response events MUST reconstruct and report the full message and MUST NOT report individual chunks as events.
Expand Down

0 comments on commit 54531dd

Please sign in to comment.