-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.py
More file actions
59 lines (54 loc) · 1.28 KB
/
Copy pathtemplate.py
File metadata and controls
59 lines (54 loc) · 1.28 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import os
folders = [
"app/frontend",
"app/graph",
"app/rag",
"app/tools",
"app/llm",
"app/memory",
"app/services",
"app/utils",
"app/config",
"data/vectorstore",
"data/uploads",
"database",
"tests",
"scripts"
]
files = [
"app/frontend/streamlit_app.py",
"app/graph/agent_graph.py",
"app/graph/nodes.py",
"app/graph/state.py",
"app/rag/ingest.py",
"app/rag/retriever.py",
"app/rag/vector_store.py",
"app/tools/calculator_tool.py",
"app/tools/stock_tool.py",
"app/tools/search_tool.py",
"app/tools/rag_tool.py",
"app/tools/python_executor.py",
"app/llm/llm_config.py",
"app/memory/sqlite_memory.py",
"app/services/chat_service.py",
"app/services/pdf_service.py",
"app/utils/thread_utils.py",
"app/utils/logger.py",
"app/config/settings.py",
"tests/test_tools.py",
"tests/test_rag.py",
"tests/test_agent.py",
"scripts/create_project_structure.py",
"requirements.txt",
".env",
".gitignore",
"README.md",
"run_streamlit.py"
]
for folder in folders:
os.makedirs(folder, exist_ok=True)
for file in files:
if not os.path.exists(file):
with open(file, "w") as f:
pass
print("✅ Project structure created successfully!")