Suggestion adapters for providing starter prompts, contextual actions, and guided composer options to assistant-ui runtimes.
API Reference
createSuggestionAdapter
const createSuggestionAdapter: (options: CreateSuggestionAdapterOptions) => SuggestionAdapter;SuggestionAdapter
SuggestionAdapter
- generate( options: SuggestionAdapterGenerateOptions, ) => | Promise<readonly ThreadSuggestion[]> | AsyncGenerator<readonly ThreadSuggestion[], void>