v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/core
language_models/base
StructuredOutputMethodParams
Type Alias StructuredOutputMethodParams<RunOutput, IncludeRaw>
Structured
Output
Method
Params
<
RunOutput
,
IncludeRaw
>
:
{
includeRaw
?:
IncludeRaw
;
method
?:
"functionCalling"
|
"jsonMode"
;
name
?:
string
;
schema
:
InteropZodType
<
RunOutput
>
|
Record
<
string
,
any
>
;
}
Type Parameters
RunOutput
IncludeRaw
extends
boolean
=
false
Type declaration
Optional
include
Raw
?:
IncludeRaw
Optional
method
?:
"functionCalling"
|
"jsonMode"
Optional
name
?:
string
schema
:
InteropZodType
<
RunOutput
>
|
Record
<
string
,
any
>
Deprecated
Pass schema in as the first argument
Deprecated
Use StructuredOutputMethodOptions instead
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js
Loading...
Deprecated
Pass schema in as the first argument