API
API
Interfaces
AIResponse

AIResponse

LLM 모델의 응답을 wrap하는 인터페이스.
사용자에게 표시할 message와, 한 턴에 호출된 다수의 명령(tools)을 함께 담는다.
실행할 명령이 없이 단순 대화만 응답한 경우 tools는 빈 배열이다.

Properties

message: string (opens in a new tab)

default: undefined

tools: Array (opens in a new tab)<AIToolCall> readonly

default: undefined