Update sample code for the article on LangChain chatbot#778
Open
lpozo wants to merge 2 commits into
Open
Conversation
Align the run command with the tutorial, which uses the `docker compose` (v2) form rather than the deprecated `docker-compose`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the
langchain-rag-appsample code to match the refreshed Build an LLM RAG Chatbot With LangChain tutorial.What changed
create_agent,langchain-neo4j, …) and thegpt-5.5models, matching the updated article step by step (source_code_step_1…source_code_final).data/folder and removed the per-step copies. Step 1 keeps its owndata/reviews.csv(it only needs the reviews). CSV URLs in the article and README now point tolangchain-rag-app/data/.chroma_data/vector-store artifact (it's regenerated bycreate_retriever.py) and added a.gitignore.requirements.txtin every step, pinned consistently with eachpyproject.tomland the article, using the latest releases (openai==2.41.0,uvicorn==0.49.0,polars==1.41.2,httpx==0.28.1).CHATBOT_URL).ruff formatandruff checkboth pass.🤖 Generated with Claude Code