File size: 1,276 Bytes
60dbab1
9f6bd24
 
 
 
60dbab1
 
 
 
 
9f6bd24
60dbab1
 
9f6bd24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: Project Intelligence Hub
emoji: πŸ”
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 6.3.0
app_file: app.py
pinned: false
license: mit
short_description: PDF reports to queryable knowledge graph
---

# Project Intelligence Hub

Transform PDF project reports into a queryable Neo4j knowledge graph with natural language queries.

## Features

- **PDF Ingestion** β€” Extract entities and relationships from project reports
- **Knowledge Graph** β€” Build structured graph with Projects, Budgets, Locations, Milestones, Challenges
- **Hybrid Search** β€” Vector embeddings + BM25 keyword search
- **Natural Language Q&A** β€” Query the graph using plain English

## Setup (Required Secrets)

Configure these in **Settings > Repository secrets**:

| Secret | Description |
|--------|-------------|
| `TOGETHER_API_KEY` | Together AI API key |
| `NEO4J_URI` | Neo4j connection URI (e.g., `neo4j+s://xxx.databases.neo4j.io`) |
| `NEO4J_USERNAME` | Neo4j username (usually `neo4j`) |
| `NEO4J_PASSWORD` | Neo4j password |
| `NEO4J_DATABASE` | Neo4j database name (usually `neo4j`) |

## Tech Stack

- **LLM**: Together AI (DeepSeek-V3)
- **Embeddings**: m2-bert-80M-8k-retrieval
- **Graph DB**: Neo4j Aura
- **Reranker**: ms-marco-MiniLM-L-6-v2
- **UI**: Gradio