Skip to content

Add LangChain vector sample#2492

Open
shaowei6 wants to merge 1 commit into
getdozer:mainfrom
shaowei6:codex/dozer-llm-langchain-sample
Open

Add LangChain vector sample#2492
shaowei6 wants to merge 1 commit into
getdozer:mainfrom
shaowei6:codex/dozer-llm-langchain-sample

Conversation

@shaowei6
Copy link
Copy Markdown

@shaowei6 shaowei6 commented May 17, 2026

Adds a complete Dozer + LangChain sample for #1690.

Summary:

  • Adds samples/llm-vector-langchain with customer profiles, transactions, and credit card product data.
  • Includes a Dozer config that exposes the datasets as REST endpoints for the sample app.
  • Builds a LangChain + Chroma recommendation flow, with OpenAI support when OPENAI_API_KEY is set and a deterministic local fallback for development.
  • Adds offline tests for the recommendation/context-building helpers.

Testing:

  • python -m unittest discover -s tests
  • python -m py_compile app.py dozer_client.py recommender.py tests/test_recommender.py

/claim #1690
Closes #1690

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sample: Dozer + LLM + Vector database + Langchain sample

3 participants