AI Tools · Tool
Outlines
generateText creates text from a language model and can call tools. It is suited to automation and other non-interactive tasks.
Last updated
Syntax
generateText({ model, instructions, prompt, messages, tools, ... })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
toolLanguageModelSystemModelMessageUserModelMessageAssistantModelMessageToolModelMessagegenerateText