OptionalinputA single input string, object, or a list of objects based on the span kind:
OptionalmetadataObject of JSON serializable key-value metadata pairs relevant to the input/output operation described by the LLM Observability span.
OptionalmetricsObject of JSON serializable key-value metrics (number) pairs, such as {input,output,total}Tokens
OptionaloutputA single output string, object, or a list of objects based on the span kind:
OptionalpromptA Prompt object that represents the prompt used for an LLM call. Only used on llm spans.
OptionaltagsObject of JSON serializable key-value tag pairs to set or update on the LLM Observability span regarding the span's context.
Annotation options for LLM Observability spans.