Skip to main content

aip_sdk.EntitySelector

aip_sdk.EntitySelector

A wildcard-capable match predicate over span identity.

kind is required; name and role match any value when left as None. EntitySelector(kind=SpanKind.LLM) matches every LLM span, while adding name="researcher" narrows to one semantic component.

aip_sdk.EntitySelector.kind​

aip_sdk.EntitySelector.kind: SpanKind

No docstring is defined in the source.

aip_sdk.EntitySelector.model_config​

aip_sdk.EntitySelector.model_config = ConfigDict(frozen=True)

No docstring is defined in the source.

aip_sdk.EntitySelector.name​

aip_sdk.EntitySelector.name: str | None = None

No docstring is defined in the source.

aip_sdk.EntitySelector.role​

aip_sdk.EntitySelector.role: str | None = None

No docstring is defined in the source.