1.
Generate text
2.
Stream text
3.
Generate object
4.
Stream object
5.
Generate chat completion
6.
Stream chat completion
7.
Stream chat completion (API route)
8.
Stream chat completion (edge runtime)
9.
Call tools
10.
Call tools in parallel
11.
Route components using language model
12.
Stream OpenAI Assistant API response
13.
Stream OpenAI Assistant API response with tool calls
14.
Stream OpenAI Assistant API response and switch between threads