UnknownFunction

org.llm4s.toolapi.ToolCallError.UnknownFunction
See theUnknownFunction companion object
final case class UnknownFunction extends ToolCallError

Tool function doesn't exist

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getMessage: String
def withAvailableTools(availableTools: Seq[String]): UnknownFunction

Replace the names of the tools that are registered (a hint for self-correction).

Replace the names of the tools that are registered (a hint for self-correction).

Attributes

def withToolName(toolName: String): UnknownFunction

Replace the name of the tool that was not found.

Replace the name of the tool that was not found.

Attributes

Inherited methods

def getFormattedMessage: String

Attributes

Inherited from:
ToolCallError
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product