LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmith_openapi_clientLangsmithOnlineEvaluatorRunRule
Interface●Since v0.8

OnlineEvaluatorRunRule

Copy
interface OnlineEvaluatorRunRule

Properties

property
corrections_dataset_id: string
property
dataset_id: string
property
dataset_name: string
property
group_by: string

Include additional information about where the group_by param was set.

property
id: string
property
num_few_shot_examples: number
property
session_id: string
property
session_name: string
property
spend_limit: OnlineSpendLimit

SpendLimit is the effective spend-cap limit for this rule (nil when unconfigured).

property
spend_usd: number

Per-rule usage for the current ISO week (omitted when feature is disabled). LLM-evaluator rules are initialized to 0; code-evaluator rules include trace counts only.

property
trace_count: number
property
use_corrections_dataset: boolean
View source on GitHub