LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Types
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
  • Vitest
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsbrowserSystemPromptConfig
Interface●Since v1.16Deprecated

SystemPromptConfig

Copy
interface SystemPromptConfig

Properties

property
base: string | SystemMessage<MessageStructure<MessageToolSet>> | null

Replacement for the profile base prompt; null omits that base.

property
prefix: string | SystemMessage<MessageStructure<MessageToolSet>> | null

Content placed before the profile base prompt.

property
suffix: string | SystemMessage<MessageStructure<MessageToolSet>> | null

Content placed after the base prompt and before the profile suffix.

View source on GitHub