Interface Agent<RequestBody, Response>

interface Agent<RequestBody, Response> {
    chat: ((content, context) => Promise<AgentResponse<Response>>);
}

Type Parameters

  • RequestBody = any
  • Response = any

Properties

Properties

chat: ((content, context) => Promise<AgentResponse<Response>>)

Type declaration