Span 类型
BaseSpan #
Bases: BaseModel
表示 span 的基本数据类。
参数
名称 | 类型 | 描述 | 默认值 |
---|---|---|---|
id_
|
str
|
Span 的 ID。 |
'585d3055-e13d-4f16-bc83-b7fc6bcdf345'
|
parent_id
|
str | None
|
父 span 的 ID。 |
None
|
tags
|
Dict[str, Any]
|
|
{}
|
源代码位于 llama-index-core/llama_index/core/instrumentation/span/base.py
6 7 8 9 10 11 12 |
|