File size: 1,071 Bytes
98346d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

The project structure is below.


GenAI-Toolkit/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ features/
β”‚   β”‚   β”œβ”€β”€ translation.py        # LangChain PromptTemplate
β”‚   β”‚   β”œβ”€β”€ summarization.py      # LangChain MapReduceChain
β”‚   β”‚   β”œβ”€β”€ chat.py               # LangGraph conversation graph
β”‚   β”‚   β”œβ”€β”€ pdf_qa.py             # LangChain RAG + LangGraph agent
β”‚   β”‚   β”œβ”€β”€ email_writer.py       # LangChain PromptTemplate
β”‚   β”‚   └── keyword_extraction.py # LangChain structured output
β”‚   β”œβ”€β”€ graphs/
β”‚   β”‚   β”œβ”€β”€ chat_graph.py         # LangGraph chat workflow
β”‚   β”‚   └── pdf_agent.py          # LangGraph PDF Q&A agent
β”‚   β”œβ”€β”€ utils/
β”‚   β”‚   β”œβ”€β”€ llm.py                # OpenAI client setup
β”‚   β”‚   └── vector_store.py       # FAISS setup
β”‚   └── app.py                    # Gradio UI
β”œβ”€β”€ data/
β”œβ”€β”€ artifacts/
β”œβ”€β”€ scripts/
β”‚   └── download_datasets.py
β”œβ”€β”€ .env
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ Dockerfile
└── README.md