Skip to content

Commit

Permalink
Add missing import to buffer_memory.md (langchain-ai#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao authored Jun 28, 2023
1 parent 4dfe021 commit dc658c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/modules/memory/examples/buffer_memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You can also load messages into a `BufferMemory` instance by creating and passin
This lets you easily pick up state from past conversations:

```typescript
import { ChatMessageHistory } from "langchain/memory";
import { BufferMemory, ChatMessageHistory } from "langchain/memory";
import { HumanChatMessage, AIChatMessage } from "langchain/schema";

const pastMessages = [
Expand Down

0 comments on commit dc658c0

Please sign in to comment.