Skip to content

Commit fdeb478

Browse files
committed
Requirements.txt file Updated With Specific Versions
1 parent dd76d7f commit fdeb478

2 files changed

Lines changed: 171 additions & 20 deletions

File tree

logs/2025_12_02.log

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
[2025-12-02 08:49:07] INFO - __main__ - LangSmith tracing enabled
2+
[2025-12-02 08:49:07] INFO - __main__ - Starting RAG application...
3+
[2025-12-02 08:49:07] INFO - project.utils.model_loader - GROQ API key loaded
4+
[2025-12-02 08:49:07] INFO - project.utils.model_loader - ModelLoader initialized
5+
[2025-12-02 08:49:08] INFO - project.utils.model_loader - Loaded Groq LLM: openai/gpt-oss-120b
6+
[2025-12-02 08:49:08] INFO - project.utils.model_loader - GROQ API key loaded
7+
[2025-12-02 08:49:08] INFO - project.utils.model_loader - ModelLoader initialized
8+
[2025-12-02 08:49:09] INFO - project.utils.model_loader - Loaded Groq LLM: openai/gpt-oss-120b
9+
[2025-12-02 08:49:09] INFO - project.source.data_preparation - DataPreparation initialized with chunk_size=1000
10+
[2025-12-02 08:49:09] INFO - project.utils.model_loader - GROQ API key loaded
11+
[2025-12-02 08:49:09] INFO - project.utils.model_loader - ModelLoader initialized
12+
[2025-12-02 08:49:14] INFO - project.utils.model_loader - Loaded FastEmbed: BAAI/bge-small-en-v1.5
13+
[2025-12-02 08:49:15] INFO - project.utils.model_loader - Loaded Groq LLM: openai/gpt-oss-120b
14+
[2025-12-02 08:49:15] INFO - project.model.retriever - DocumentRetriever initialized
15+
[2025-12-02 08:49:15] INFO - project.model.reranking - FlashRank reranker initialized with model: rank-T5-flan
16+
[2025-12-02 08:49:15] INFO - project.pipeline.rag - RAGPipeline initialized
17+
[2025-12-02 08:49:16] INFO - project.pipeline.agents - Web search tool initialized
18+
[2025-12-02 08:49:16] INFO - project.pipeline.agents - AgentWorkflow initialized
19+
[2025-12-02 08:49:16] INFO - __main__ - Setting up pipeline with Attention Is All You Need paper...
20+
[2025-12-02 08:49:16] INFO - project.source.data_preparation - Loading PDF from local file: data\attention-is-all-you-need.pdf
21+
[2025-12-02 08:49:16] INFO - project.source.data_preparation - Loaded 11 pages from PDF
22+
[2025-12-02 08:49:16] INFO - project.source.data_preparation - Split documents into 43 chunks
23+
[2025-12-02 08:49:16] INFO - project.source.data_preparation - Document preparation complete: 43 chunks ready
24+
[2025-12-02 08:49:24] INFO - faiss.loader - Loading faiss with AVX512 support.
25+
[2025-12-02 08:49:24] INFO - faiss.loader - Could not load library with AVX512 support due to:
26+
ModuleNotFoundError("No module named 'faiss.swigfaiss_avx512'")
27+
[2025-12-02 08:49:24] INFO - faiss.loader - Loading faiss with AVX2 support.
28+
[2025-12-02 08:49:24] INFO - faiss.loader - Successfully loaded faiss with AVX2 support.
29+
[2025-12-02 08:49:24] INFO - project.model.retriever - Vector store created with 43 documents
30+
[2025-12-02 08:49:24] INFO - project.model.retriever - Base retriever configured with mmr search
31+
[2025-12-02 08:49:24] INFO - project.pipeline.rag - RAG chain built successfully
32+
[2025-12-02 08:49:24] INFO - project.pipeline.rag - RAG pipeline setup complete
33+
[2025-12-02 08:49:24] INFO - project.pipeline.agents - LangGraph workflow compiled
34+
[2025-12-02 08:49:24] INFO - project.pipeline.agents - Agent workflow setup complete
35+
[2025-12-02 08:49:26] INFO - project.pipeline.agents - Workflow graph saved to workflow.png
36+
[2025-12-02 08:49:26] INFO - __main__ - Workflow graph saved
37+
[2025-12-02 08:49:26] INFO - project.pipeline.agents - ---RETRIEVE---
38+
[2025-12-02 08:49:26] INFO - project.pipeline.agents - Node 'retrieve' completed
39+
[2025-12-02 08:49:26] INFO - project.pipeline.agents - ---CHECK DOCUMENT RELEVANCE TO QUESTION---
40+
[2025-12-02 08:49:26] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
41+
[2025-12-02 08:49:26] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
42+
[2025-12-02 08:49:27] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
43+
[2025-12-02 08:49:27] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
44+
[2025-12-02 08:49:27] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
45+
[2025-12-02 08:49:27] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
46+
[2025-12-02 08:49:27] INFO - project.pipeline.agents - ---ASSESS GRADED DOCUMENTS---
47+
[2025-12-02 08:49:27] INFO - project.pipeline.agents - ---DECISION: RELEVANT DOCUMENTS FOUND, GENERATE---
48+
[2025-12-02 08:49:27] INFO - project.pipeline.agents - Node 'grade_documents' completed
49+
[2025-12-02 08:49:27] INFO - project.pipeline.agents - ---GENERATE---
50+
[2025-12-02 08:49:28] INFO - project.model.reranking - Reranked 3 documents, returning top 3
51+
[2025-12-02 08:49:30] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
52+
[2025-12-02 08:49:30] INFO - project.pipeline.agents - Node 'generate' completed
53+
[2025-12-02 08:49:30] INFO - project.pipeline.agents - ---RETRIEVE---
54+
[2025-12-02 08:49:30] INFO - project.pipeline.agents - Node 'retrieve' completed
55+
[2025-12-02 08:49:30] INFO - project.pipeline.agents - ---CHECK DOCUMENT RELEVANCE TO QUESTION---
56+
[2025-12-02 08:49:30] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
57+
[2025-12-02 08:49:30] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
58+
[2025-12-02 08:49:31] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
59+
[2025-12-02 08:49:31] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
60+
[2025-12-02 08:49:31] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
61+
[2025-12-02 08:49:31] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
62+
[2025-12-02 08:49:31] INFO - project.pipeline.agents - ---ASSESS GRADED DOCUMENTS---
63+
[2025-12-02 08:49:31] INFO - project.pipeline.agents - ---DECISION: RELEVANT DOCUMENTS FOUND, GENERATE---
64+
[2025-12-02 08:49:31] INFO - project.pipeline.agents - Node 'grade_documents' completed
65+
[2025-12-02 08:49:31] INFO - project.pipeline.agents - ---GENERATE---
66+
[2025-12-02 08:49:31] INFO - project.model.reranking - Reranked 3 documents, returning top 3
67+
[2025-12-02 08:49:34] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
68+
[2025-12-02 08:49:34] INFO - project.pipeline.agents - Node 'generate' completed
69+
[2025-12-02 08:49:34] INFO - project.pipeline.agents - ---RETRIEVE---
70+
[2025-12-02 08:49:34] INFO - project.pipeline.agents - Node 'retrieve' completed
71+
[2025-12-02 08:49:34] INFO - project.pipeline.agents - ---CHECK DOCUMENT RELEVANCE TO QUESTION---
72+
[2025-12-02 08:49:35] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
73+
[2025-12-02 08:49:35] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
74+
[2025-12-02 08:49:36] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
75+
[2025-12-02 08:49:36] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
76+
[2025-12-02 08:49:36] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
77+
[2025-12-02 08:49:36] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
78+
[2025-12-02 08:49:36] INFO - project.pipeline.agents - ---ASSESS GRADED DOCUMENTS---
79+
[2025-12-02 08:49:36] INFO - project.pipeline.agents - ---DECISION: RELEVANT DOCUMENTS FOUND, GENERATE---
80+
[2025-12-02 08:49:36] INFO - project.pipeline.agents - Node 'grade_documents' completed
81+
[2025-12-02 08:49:36] INFO - project.pipeline.agents - ---GENERATE---
82+
[2025-12-02 08:49:37] INFO - project.model.reranking - Reranked 3 documents, returning top 3
83+
[2025-12-02 08:49:40] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
84+
[2025-12-02 08:49:40] INFO - project.pipeline.agents - Node 'generate' completed
85+
[2025-12-02 08:49:40] INFO - __main__ - RAG application completed successfully
86+
[2025-12-02 08:50:12] INFO - __main__ - Initializing RAG pipeline...
87+
[2025-12-02 08:50:12] INFO - project.utils.model_loader - GROQ API key loaded
88+
[2025-12-02 08:50:12] INFO - project.utils.model_loader - ModelLoader initialized
89+
[2025-12-02 08:50:13] INFO - project.utils.model_loader - Loaded Groq LLM: openai/gpt-oss-120b
90+
[2025-12-02 08:50:13] INFO - project.utils.model_loader - GROQ API key loaded
91+
[2025-12-02 08:50:13] INFO - project.utils.model_loader - ModelLoader initialized
92+
[2025-12-02 08:50:13] INFO - project.utils.model_loader - Loaded Groq LLM: openai/gpt-oss-120b
93+
[2025-12-02 08:50:13] INFO - project.source.data_preparation - DataPreparation initialized with chunk_size=1000
94+
[2025-12-02 08:50:13] INFO - project.utils.model_loader - GROQ API key loaded
95+
[2025-12-02 08:50:13] INFO - project.utils.model_loader - ModelLoader initialized
96+
[2025-12-02 08:50:17] INFO - project.utils.model_loader - Loaded FastEmbed: BAAI/bge-small-en-v1.5
97+
[2025-12-02 08:50:18] INFO - project.utils.model_loader - Loaded Groq LLM: openai/gpt-oss-120b
98+
[2025-12-02 08:50:18] INFO - project.model.retriever - DocumentRetriever initialized
99+
[2025-12-02 08:50:19] INFO - project.model.reranking - FlashRank reranker initialized with model: rank-T5-flan
100+
[2025-12-02 08:50:19] INFO - project.pipeline.rag - RAGPipeline initialized
101+
[2025-12-02 08:50:19] INFO - project.pipeline.agents - Web search tool initialized
102+
[2025-12-02 08:50:19] INFO - project.pipeline.agents - AgentWorkflow initialized
103+
[2025-12-02 08:50:19] INFO - project.source.data_preparation - Loading PDF from local file: data\attention-is-all-you-need.pdf
104+
[2025-12-02 08:50:20] INFO - project.source.data_preparation - Loaded 11 pages from PDF
105+
[2025-12-02 08:50:20] INFO - project.source.data_preparation - Split documents into 43 chunks
106+
[2025-12-02 08:50:20] INFO - project.source.data_preparation - Document preparation complete: 43 chunks ready
107+
[2025-12-02 08:50:30] INFO - faiss.loader - Loading faiss with AVX512 support.
108+
[2025-12-02 08:50:30] INFO - faiss.loader - Could not load library with AVX512 support due to:
109+
ModuleNotFoundError("No module named 'faiss.swigfaiss_avx512'")
110+
[2025-12-02 08:50:30] INFO - faiss.loader - Loading faiss with AVX2 support.
111+
[2025-12-02 08:50:30] INFO - faiss.loader - Successfully loaded faiss with AVX2 support.
112+
[2025-12-02 08:50:30] INFO - project.model.retriever - Vector store created with 43 documents
113+
[2025-12-02 08:50:30] INFO - project.model.retriever - Base retriever configured with mmr search
114+
[2025-12-02 08:50:30] INFO - project.pipeline.rag - RAG chain built successfully
115+
[2025-12-02 08:50:30] INFO - project.pipeline.rag - RAG pipeline setup complete
116+
[2025-12-02 08:50:30] INFO - project.pipeline.agents - LangGraph workflow compiled
117+
[2025-12-02 08:50:30] INFO - project.pipeline.agents - Agent workflow setup complete
118+
[2025-12-02 08:50:30] INFO - __main__ - RAG pipeline ready
119+
[2025-12-02 08:51:35] INFO - project.pipeline.agents - ---RETRIEVE---
120+
[2025-12-02 08:51:35] INFO - project.pipeline.agents - Node 'retrieve' completed
121+
[2025-12-02 08:51:35] INFO - project.pipeline.agents - ---CHECK DOCUMENT RELEVANCE TO QUESTION---
122+
[2025-12-02 08:51:36] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
123+
[2025-12-02 08:51:36] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
124+
[2025-12-02 08:51:37] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
125+
[2025-12-02 08:51:37] INFO - project.pipeline.agents - ---GRADE: DOCUMENT NOT RELEVANT---
126+
[2025-12-02 08:51:37] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
127+
[2025-12-02 08:51:37] INFO - project.pipeline.agents - ---GRADE: DOCUMENT NOT RELEVANT---
128+
[2025-12-02 08:51:37] INFO - project.pipeline.agents - ---ASSESS GRADED DOCUMENTS---
129+
[2025-12-02 08:51:37] INFO - project.pipeline.agents - ---DECISION: RELEVANT DOCUMENTS FOUND, GENERATE---
130+
[2025-12-02 08:51:37] INFO - project.pipeline.agents - Node 'grade_documents' completed
131+
[2025-12-02 08:51:37] INFO - project.pipeline.agents - ---GENERATE---
132+
[2025-12-02 08:51:39] INFO - project.model.reranking - Reranked 3 documents, returning top 3
133+
[2025-12-02 08:51:42] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
134+
[2025-12-02 08:51:42] INFO - project.pipeline.agents - Node 'generate' completed
135+
[2025-12-02 08:51:42] INFO - project.pipeline.agents - ---RETRIEVE---
136+
[2025-12-02 08:51:42] INFO - project.pipeline.agents - Node 'retrieve' completed
137+
[2025-12-02 08:51:42] INFO - project.pipeline.agents - ---CHECK DOCUMENT RELEVANCE TO QUESTION---
138+
[2025-12-02 08:51:43] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
139+
[2025-12-02 08:51:43] INFO - project.pipeline.agents - ---GRADE: DOCUMENT RELEVANT---
140+
[2025-12-02 08:51:43] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
141+
[2025-12-02 08:51:43] INFO - project.pipeline.agents - ---GRADE: DOCUMENT NOT RELEVANT---
142+
[2025-12-02 08:51:44] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
143+
[2025-12-02 08:51:44] INFO - project.pipeline.agents - ---GRADE: DOCUMENT NOT RELEVANT---
144+
[2025-12-02 08:51:44] INFO - project.pipeline.agents - ---ASSESS GRADED DOCUMENTS---
145+
[2025-12-02 08:51:44] INFO - project.pipeline.agents - ---DECISION: RELEVANT DOCUMENTS FOUND, GENERATE---
146+
[2025-12-02 08:51:44] INFO - project.pipeline.agents - Node 'grade_documents' completed
147+
[2025-12-02 08:51:44] INFO - project.pipeline.agents - ---GENERATE---
148+
[2025-12-02 08:51:44] INFO - project.model.reranking - Reranked 3 documents, returning top 3
149+
[2025-12-02 08:51:48] INFO - httpx - HTTP Request: POST https://api.groq.com/openai/v1/chat/completions "HTTP/1.1 200 OK"
150+
[2025-12-02 08:51:48] INFO - project.pipeline.agents - Node 'generate' completed

requirements.txt

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
arxiv
2-
chromadb
3-
faiss-cpu
4-
fastembed
5-
fastapi
6-
flashrank
7-
google-generativeai
8-
jinja2
9-
langchain
10-
langchain-chroma
11-
langchain-community
12-
langchain-google-genai
13-
langchain-groq
14-
langgraph
15-
pypdf
16-
python-dotenv
17-
python-multipart
18-
rapidocr-onnxruntime
19-
tiktoken
20-
uvicorn
1+
arxiv>=2.3.1
2+
chromadb>=1.3.5
3+
faiss-cpu>=1.13.0
4+
fastembed>=0.7.3
5+
fastapi>=0.115.0
6+
flashrank>=0.2.10
7+
google-generativeai>=0.8.3
8+
jinja2>=3.1.0
9+
langchain>=0.3.0
10+
langchain-chroma>=0.1.0
11+
langchain-community>=0.3.0
12+
langchain-google-genai>=2.0.5
13+
langchain-groq>=0.2.0
14+
langgraph>=0.2.0
15+
pypdf>=6.4.0
16+
pymupdf
17+
python-dotenv>=1.2.1
18+
python-multipart>=0.0.20
19+
rapidocr-onnxruntime>=1.4.4
20+
tiktoken>=0.12.0
21+
uvicorn>=0.34.0

0 commit comments

Comments
 (0)