ChatLanguageModelToolReference

A reference to a tool that the user manually attached to their request, either using the #-syntax inline, or as an attachment via the paperclip button.

Online Documentation

Properties

Link copied to clipboard
abstract val name: String

The tool name. Refers to a tool listed in lm.tools.

Link copied to clipboard
abstract val range: Tuple2<JsInt, JsInt>?

The start and end index of the reference in the prompt. When undefined, the reference was not part of the prompt text.