A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://api.js.langchain.com/classes/_langchain_core.messages.BaseMessageChunk.html below:

Website Navigation


BaseMessageChunk | LangChain.js

Represents a chunk of a message, which can be concatenated with other message chunks. It includes a method _merge_kwargs_dict() for merging additional keyword arguments from another BaseMessageChunk into this one. It also overrides the __add__() method to support concatenation of BaseMessageChunk instances.

Hierarchy (view full) Index Constructors Properties Accessors Methods Constructors constructor Properties additional_kwargs

Additional keyword arguments

Inherited from BaseMessage.additional_kwargs

content

The content of the message.

Inherited from BaseMessage.content

Optionalid

id?: string

An optional unique identifier for the message. This should ideally be provided by the provider/model which created the message.

Inherited from BaseMessage.id

Optionalname

name?: string

The name of the message sender in a multi-user chat.

Inherited from BaseMessage.name

response_metadata

response_metadata: Record<string, any>

Response metadata. For example: response headers, logprobs, token counts, model name.

Inherited from BaseMessage.response_metadata

Accessors [toStringTag] text Methods Abstractconcat getType toDict toJSON toJSONNotImplemented

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4