add_session_attributes

API reference for add_session_attributes

add_session_attributes()

Adds Fiddler-specific attributes to a runnable’s metadata.

This is used for various runnable types like Pregel nodes, LLM calls, tool calls, and retriever calls.

Parameters

Parameter
Type
Required
Default
Description

key

str

None

The attribute key to add or update.

value

str

None

The attribute value to set.

Last updated

Was this helpful?