← All proposals

Chain of Thought

A collapsible list.

Net-new componentOpen in Storybook

proposals/ChainOfThought/ChainOfThought.mdx21 lines · View on GitHub
import { Canvas, Controls, Meta, Title } from '@storybook/addon-docs/blocks';

import * as ChainOfThoughtStories from './ChainOfThought.stories';

<Meta of={ChainOfThoughtStories} name='Usage' />

<Title />

## Purpose

A collapsible list of the steps an agent took or plans to take. Use it to let people see an agent's work without putting it in their way. The summary line is always visible; the steps open on demand.

## Implementation

See the table below for the available props. The other stories show every variant and state.

<hr />

<Canvas of={ChainOfThoughtStories.Steps} />
<Controls of={ChainOfThoughtStories.Steps} />