Module: schema
Classes
- AIChatMessage
- BaseChatMessage
- BaseChatMessageHistory
- BaseOutputParser
- BasePromptValue
- BaseRetriever
- ChatMessage
- HumanChatMessage
- OutputParserException
- SystemChatMessage
Interfaces
Type Aliases
AgentAction
Ƭ AgentAction: Object
Type declaration
| Name | Type |
|---|---|
log | string |
tool | string |
toolInput | string |
Defined in
langchain/src/schema/index.ts:111
AgentFinish
Ƭ AgentFinish: Object
Type declaration
| Name | Type |
|---|---|
log | string |
returnValues | Record<string, any> |
Defined in
langchain/src/schema/index.ts:117
AgentStep
Ƭ AgentStep: Object
Type declaration
| Name | Type |
|---|---|
action | AgentAction |
observation | string |
Defined in
langchain/src/schema/index.ts:122
ChainValues
Ƭ ChainValues: Record<string, any>
Defined in
langchain/src/schema/index.ts:128
Example
Ƭ Example: Record<string, string>
Defined in
langchain/src/schema/index.ts:3
InputValues
Ƭ InputValues: Record<string, any>
Defined in
langchain/src/schema/index.ts:6
LLMResult
Ƭ LLMResult: Object
Contains all relevant information returned by an LLM.
Type declaration
| Name | Type | Description |
|---|---|---|
generations | Generation[][] | List of the things generated. Each input could have multiple generations, hence this is a list of lists. |
llmOutput? | Record<string, any> | Dictionary of arbitrary LLM-provider specific output. |
Defined in
langchain/src/schema/index.ts:32
MessageType
Ƭ MessageType: "human" | "ai" | "generic" | "system"
Defined in
langchain/src/schema/index.ts:43
PartialValues
Ƭ PartialValues: Record<string, string | () => Promise<string> | () => string>
Defined in
langchain/src/schema/index.ts:8