Introducing Virtual MCP Servers
LogoLogo
GithubJoin SlackSignupBook a Demo
  • Documentation
  • Self Hosted
  • Integrations
  • Guides
  • Enterprise
  • Introduction to AI Gateway
  • Supported Models
  • Supported MCP Servers
  • Getting Started
    • Quick Start
    • Working with API
    • Working with Multiple Agents
    • Working with MCPs
    • Working with Headers
    • User Tracking
    • Using Parameters
  • Concepts
    • Thread
    • Trace
    • Run
    • Label
    • Message
    • Virtual Models
      • Routing with Virtual Model
    • Virtual MCP Servers
  • Features
    • Tracing
    • Routing
    • MCP Support
    • Publishing MCP Servers
    • Usage
    • Analytics
    • Guardrails
    • User Roles
    • Cost Control
  • Python SDK
    • Getting Started
  • API Reference
  • Postman Collection
Powered by GitBook
LogoLogo

Social

  • LinkedIn
  • X
  • Youtube
  • Github

Platform

  • Pricing
  • Documentation
  • Blog

Company

  • Home
  • About

Legal

  • Privacy Policy
  • Terms of Service

2025 LangDB. All rights reserved.

On this page

Was this helpful?

Export as PDF
  1. Concepts

Message

A Message in LangDB AI Gateway defines structured interactions between users, systems, and models in workflows.

A Message is the basic unit of communication in LangDB workflows. Messages define the interaction between the user, the system, and the model. Every workflow is built around exchanging and processing messages.

Core Features:

  • Structured Interactions: Messages define roles (user, system, assistant) to organize interactions clearly.

  • Multi-Role Flexibility: Different roles (e.g., system for instructions, user for queries) enable complex workflows.

  • Dynamic Responses: Messages form the backbone of LangDB’s chat-based interactions.

Example:

A simple interaction to generate a poem might look like this:

[
  { "role": "system", "content": "You are a helful assistant" },
  { "role": "user", "content": "Write me a poem about celluloids." }
]
PreviousLabelNextVirtual Models

Last updated 3 months ago

Was this helpful?