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
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
Pythonlangsmithutilsget_message_generation_from_outputs
Function●Since v0.0

get_message_generation_from_outputs

Retrieve the message generation from the given outputs.

Copy
get_message_generation_from_outputs(
    outputs: Mapping[str, Any],
) -> dict[str, Any]

Parameters

NameTypeDescription
outputs*Mapping[str, Any]

The outputs dictionary.

View source on GitHub