-
Notifications
You must be signed in to change notification settings - Fork 30
fix: Adapt RAG example to use createAgent
#1302
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
Conversation
|
Perhaps we can adapt this RAG example and avoid using the more or less legacy usages. https://www.npmjs.com/package/@langchain/classic |
I have adapted the RAG sample to use But some imports like |
createAgent
Context
This PR adapts the current RAG example using the latest RAG agent tutorial.
It also fixes smoke-test failures by adding the missing
@langchain/classicpackage.Successful test run: https://github.com/SAP/ai-sdk-js/actions/runs/19854088195