ThoughtChain
Import |
Source |
Docs |
何时使用#
- Debug and trace complex call chains in the Agent System.
- Similar chain-like scenarios.
Examples #
Thought Chain Item Title description
Thought Chain Item Title description
Loading...
Thought Chain Item Title description
Thought Chain Item Title description
Loading...
Thought Chain Item Title description
Thought Chain Item Title description
Thought Chain Item Title description
Loading...
Thought Chain Item Title description
Thought Chain Item Title description
Loading...
Thought Chain Item Title description
Thought Chain Item Title description
Thought Chain Item Title description
Loading...
Thought Chain Item Title description
Thought Chain Item Title description
Loading...
API#
nx-thought-chain#
| Property | Description | Type | Default | Global Config |
|---|---|---|---|---|
[nxCollapsible] | Whether collapsible | boolean | NxCollapsibleOptions | false | - |
[nxItems] | Chain items | NxThoughtChainItem[] | - | - |
[nxSize] | Size | large | middle | small | middle | - |
NxThoughtChainItem#
| Property | Description | Type | Default | Global Config |
|---|---|---|---|---|
[content] | Thought chain item content | TemplateRef<void> | - | - |
[description] | Thought chain item description | TemplateRef<void> | string | - | - |
[extra] | Thought chain item extra content | TemplateRef<void> | - | - |
[footer] | Thought chain item footer | TemplateRef<void> | - | - |
[icon] | Thought chain item icon | string | - | - |
[key] | Unique identifier | string | - | - |
[status] | Thought chain item status | pending | success | error | - | - |
[title] | Thought chain item title | TemplateRef<void> | string | - | - |
NxCollapsibleOptions#
| Property | Description | Type | Default | Global Config |
|---|---|---|---|---|
[expandedKeys] | Current expanded keys | string[] | - | - |
[onExpand] | Callback function when expanded keys change | (expandedKeys: string[]) => void | - | - |