Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CohereTool

A definition of tool (function).

Properties

description

description: string

The description of what the tool does, the model uses the description to choose when and how to call the function.

name

name: string

The name of the tool to be called. Valid names contain only the characters a-z, A-Z, 0-9, _ and must not begin with a digit.

Optional parameterDefinitions

parameterDefinitions: undefined | object

The input parameters of the tool.

Functions

getDeserializedJsonObj

getJsonObj