Learn R Programming

rtemis.llm (version 0.8.1)

tool_param: tool_param

Description

Define a tool parameter schema

Usage

tool_param(name, type, description, required = FALSE)

Value

ToolParameter object

Arguments

name

Character: The name of the parameter.

type

Character: The type of the parameter.

description

Character: The description of the parameter.

required

Logical: Whether the parameter is required.

Author

EDG

Examples

Run this code
tool_param("query", "string", "search query to send", required = TRUE)

Run the code above in your browser using DataLab