Class: LangchainAgentWrapper<T>
langchain-agent.LangchainAgentWrapper
Type parameters
Name | Type |
---|---|
T | extends BaseChain |
Implements
Constructors
constructor
• new LangchainAgentWrapper<T
>(agentOrChain
, chainValues?
, userInputKey?
, callbacks?
)
Type parameters
Name | Type |
---|---|
T | extends BaseChain <T > |
Parameters
Name | Type |
---|---|
agentOrChain | T |
chainValues? | ChainValues |
userInputKey? | string |
callbacks? | Callbacks |
Defined in
packages/convostack-langchain-agent/dist/index.d.ts:11
Methods
reply
▸ reply(context
): Promise
<IAgentResponse
>
Parameters
Name | Type |
---|---|
context | IAgentContext |
Returns
Promise
<IAgentResponse
>
Implementation of
Defined in
packages/convostack-langchain-agent/dist/index.d.ts:12