Chat¶
| API | Role |
|---|---|
| ChatCompletionsService | Synchronous create and createStreaming. |
| ChatCompletionsAsyncService | Async completions and streams. |
| Completion models | Request builders, replies, chunks and deltas. |
| Message models | Roles, content and tool calls. |
| ResponseStream | Closeable iterable for synchronous stream consumption. |
See chat and streaming for the runnable workflow and tool-call example.