logo

Beta

Get Started

Introduction

Core Concepts

Utilities

Integrations

Resources

Reasoning

copy markdown

Reasoning allows Interfaze to perform complex multi-step thinking processes to solve problems, analyze information, and arrive at well-reasoned conclusions. By controlling the reasoning effort, you can balance between response quality and processing time.

Examples

OpenAI SDK

LangChain SDK

Vercel AI SDK

...

Accessing Reasoning While Streaming

When using streaming mode with reasoning enabled, the reasoning process is delivered as it happens, wrapped between <think> and </think> tags. The reasoning chunks stream one by one, allowing you to display the thought process in real-time before the final answer arrives.

Format

...