How sangna3087/datheon_python_generative_ai_langchain_internship works
This repository is a set of three standalone GenAI task demos plus a separate Streamlit assistant, rather than one integrated application. The principal workflows are local resume parsing and validation, document retrieval through a local vector store, and a scripted agent that invokes search and math tools. The Streamlit app provides its own query-to-response simulation and does not call the agent script. Edges reflect the shown code and README; unsampled integrations are not inferred.
Main entry points: rag_app.py RAG runner · streamlit_app.py Streamlit chat · app.py Resume runner · agent_app.py Agent runner
Components 19
Resume validation
- Resume runner
app.py - Local extraction
app.py - Resume schema
app.py - Validated JSON
app.py
Document retrieval
- RAG runner
rag_app.py - Document chunking
rag_app.py - Local embeddings
rag_app.py - Chroma vector store
rag_app.py - Context retrieval
rag_app.py - Retrieved context
rag_app.py
Agent demo
- Agent runner
agent_app.py - Agent executor
agent_app.py - Web search tool
agent_app.py - Math calculator
agent_app.py - Final answer
agent_app.py
Chat interface
- Streamlit chat
streamlit_app.py - Session history
streamlit_app.py - Simulated response
streamlit_app.py
Other components
- User
Connections 20
- User → Resume runner: runs task
README.md - Resume runner → Local extraction: calls
app.py - Local extraction → Resume schema: validates with
app.py - Resume runner → Validated JSON: prints
app.py - User → RAG runner: runs task
README.md - RAG runner → Document chunking: splits documents
rag_app.py - RAG runner → Local embeddings: initializes
rag_app.py - RAG runner → Chroma vector store: stores chunks
rag_app.py - RAG runner → Context retrieval: creates and queries
rag_app.py - Context retrieval → Chroma vector store: searches
rag_app.py - RAG runner → Retrieved context: prints
rag_app.py - User → Agent runner: runs task
README.md - Agent runner → Agent executor: invokes
agent_app.py - Agent executor → Web search tool: calls
agent_app.py - Agent executor → Math calculator: calls
agent_app.py - Agent runner → Final answer: prints
agent_app.py - User → Streamlit chat: enters query
streamlit_app.py - Streamlit chat → Session history: updates
streamlit_app.py - Streamlit chat → Simulated response: generates and displays
streamlit_app.py - Streamlit chat → Session history: appends response
streamlit_app.py