Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Zep example Next JS app #1223

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

paul-paliychuk
Copy link

Summary:
Created a sample Next JS showcasing Vercel AI SDK integration with Zep Memory (Cloud Version). Exposes two conversation handler routes
zep-history - a pure Zep JS integration.
langchain-zep-history - uses LangChain compatible classes provided by zep-js sdk for LangChain users.

Session ID is required for chat memory, the way the client pages are set up in the sample app is to look for a sessionId in search query, and set a random one if not provided.

@jaredpalmer
Copy link
Collaborator

Can we add another example without langchain?

@paul-paliychuk
Copy link
Author

@jaredpalmer Hey, so I added an example just using zep and another example using zep + langchain integration (on a different route). Happy to extract non-langchain example into a separate example app.

@paul-paliychuk
Copy link
Author

Just extracted LangChain example into next-zep-langchain app. Non-langchain integration is in next-zep app and doesn't have langchain dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants