LangChain Reference home page
Search...
⌘K
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
⌘I
Chat LangChain
What can I help with?
Enter
to send
·
Shift+Enter
new line
What are deep agents and how do I get started?
How do I build a React app around a Deep Agent?
How do I stream subagent output to my frontend with useStream?
Menu
Navigation
Projects
LangSmith Go
Overview
Client
Datasets
Examples
Runs
Sessions
Feedback
Repos (Prompts)
Annotation Queues
Tracing & OpenTelemetry
Language
Python
JavaScript
Theme
Light
Dark
Go
langsmith
Rule
Class
v0.0.0 (latest)
●
Since v0.32
Rule
Copy
type
Rule
struct
Properties
property
ID
:
string
property
AddToDatasetPreferCorrection
:
bool
property
CreatedAt
:
time
.
Time
property
DisplayName
:
string
property
EvaluatorVersion
:
int64
property
ExtendOnly
:
bool
property
IncludeExtendedStats
:
bool
property
IsEnabled
:
bool
property
IsManagedEvaluator
:
bool
property
IsTracingDisabled
:
bool
property
SamplingRate
:
float64
property
TenantID
:
string
property
Transient
:
bool
property
UpdatedAt
:
time
.
Time
property
UseCorrectionsDataset
:
bool
property
AddToAnnotationQueueID
:
string
property
AddToAnnotationQueueName
:
string
property
AddToDatasetID
:
string
property
AddToDatasetName
:
string
property
Alerts
:
[]
RuleAlert
property
AlignmentAnnotationQueueID
:
string
property
BackfillCompletedAt
:
time
.
Time
property
BackfillError
:
string
property
BackfillFrom
:
time
.
Time
property
BackfillID
:
string
property
BackfillProgress
:
float64
property
BackfillStatus
:
string
property
CodeEvaluators
:
[]
RuleCodeEvaluator
property
CorrectionsDatasetID
:
string
property
DatasetID
:
string
property
DatasetName
:
string
property
EffectiveSpendLimit
:
RuleEffectiveSpendLimit
property
EvaluatorID
:
string
property
EvaluatorName
:
string
property
EvaluatorType
:
string
property
Evaluators
:
[]
RuleEvaluator
property
ExtendAnnotationQueueTraceRetention
:
bool
property
ExtendDatasetTraceRetention
:
bool
property
ExtendEvaluatorTraceRetention
:
bool
property
ExtendWebhookTraceRetention
:
bool
property
Filter
:
string
property
GroupBy
:
RuleGroupBy
property
NumFewShotExamples
:
int64
property
ProjectID
:
string
property
ProjectName
:
string
property
SpendLimit
:
RuleSpendLimit
property
SpendUsd
:
float64
property
ThreadFilter
:
string
property
TraceCount
:
int64
property
TraceFilter
:
string
property
TreeFilter
:
string
property
Webhooks
:
[]
RuleWebhook
property
JSON
:
ruleJSON
Methods
method
UnmarshalJSON
View source on GitHub
Version History