10from abc import ABC, abstractmethod
11from collections.abc import AsyncIterator, Callable, Iterator, Sequence
12▶from functools import cached_property
13from operator import itemgetter
14from typing import TYPE_CHECKING, Any, Literal, cast, overload
· · ·
88 _V2StreamingCallbackHandler,
89)
90▶from langchain_core.utils.function_calling import (
91 convert_to_json_schema,
92 convert_to_openai_tool,
· · ·
276 Methods that actually call the underlying model.
277
278▶ This table provides a brief overview of the main imperative methods. Please see the base `Runnable` reference for full documentation.
279
280 | Method | Input | Output | Description |
· · ·
293 Methods for creating another `Runnable` using the chat model.
294
295▶ This table provides a brief overview of the main declarative methods. Please see the reference for each method for full documentation.
296
297 | Method | Description |
· · ·
336 - If `False` (Default), will always use streaming case if available.
337
338▶ The main reason for this flag is that code might be written using `stream` and
339 a user may want to swap out a given model for another model whose implementation
340 does not properly support streaming.
+ 12 more matches in this file