LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithsandbox_modelsGrepResult
Class●Since v0.13

GrepResult

Copy
GrepResult(
  self,
  matches: list[GrepMatch] = list(),
  truncated: bool

Used in Docs

  • Backends

Constructors

Attributes

Methods

View source on GitHub
=
False
)
constructor
__init__
NameType
matcheslist[GrepMatch]
truncatedbool
attribute
matches: list[GrepMatch]
attribute
truncated: bool
method
from_dict

Lines matching a literal search.

Create a GrepResult from API response dict.