[logseq-plugin-git:commit] 2025-06-14T15:28:41.063Z
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
## Preparation of the development environment
|
||||
- ```
|
||||
mkdir todoist-insight && cd todoist-insight
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate # oppure .\venv\Scripts\activate su Windows
|
||||
touch requirements.txt README.md
|
||||
mkdir notebooks data src reports
|
||||
mkdir data/raw data/processed
|
||||
```
|
||||
- The activation of the virtual environment has been done with different attempts. At the end, to make it working in VSCode on Windows, I opened a Powershell terminal and executed the corresponding script
|
||||
- `.\venv\Scripts\Activate.ps1`
|
||||
- This permitted to install `ipykernel` and make it visibale in vscode. The installation was done automatically via VSCode even though it would have worked also with
|
||||
- `python -m ipykernel install --user --name=todoist-env --display-name "Python (todoist-env)`
|
||||
- Once crated the virtual environment, you have to install the required dependencies with
|
||||
- `pip install -r requirements.txt`
|
||||
- ## Structure of the project
|
||||
- todoist-insight/
|
||||
├── notebooks/
|
||||
│ └── 01_analysis_dashboard.ipynb ← Notebook principale
|
||||
│
|
||||
├── data/
|
||||
│ ├── raw/
|
||||
│ │ ├── completed_tasks.json ← Export JSON completati
|
||||
│ │ └── incomplete_tasks.json ← Export JSON incompleti
|
||||
│ └── processed/
|
||||
│ └── completed_tasks.csv ← Dataset già trasformato
|
||||
│
|
||||
├── reports/
|
||||
│ ├── ai_analysis.md ← Output analisi GPT su task completati
|
||||
│ └── ai_suggestions.md ← Suggerimenti per task aperti
|
||||
│
|
||||
├── src/
|
||||
│ ├── todoist_api.py ← Funzioni per accedere a Todoist
|
||||
│ ├── visualization.py ← Grafici (matplotlib/seaborn/plotly)
|
||||
│ ├── gpt_analysis.py ← Analisi qualitativa via OpenAI
|
||||
│ └── utils.py ← Funzioni ausiliarie (date, parsing, mapping)
|
||||
│
|
||||
├── .env ← File per chiavi API (non pushare su GitHub)
|
||||
├── requirements.txt ← Dipendenze (todoist-api, openai, pandas, ...)
|
||||
└── README.md ← Panoramica e guida all’uso
|
||||
- ## Improvement of the Palyground project with CrewAI usage
|
||||
- {{renderer :mermaid_684d7ac6-4d14-464a-8f71-53a7f313e92e, 3}}
|
||||
collapsed:: true
|
||||
- ```mermaid
|
||||
flowchart LR
|
||||
A[Load Task Cache] --> B[AnalyzerAgent]
|
||||
B --> C[ClassifierAgent]
|
||||
C --> D[AdvisorAgent]
|
||||
D --> E[PlannerAgent]
|
||||
|
||||
```
|
||||
-
|
||||
Reference in New Issue
Block a user