File size: 5,281 Bytes
6cb5d69 0ac0926 6cb5d69 0ac0926 6cb5d69 0ac0926 6cb5d69 0ac0926 6cb5d69 0ac0926 6cb5d69 0ac0926 6cb5d69 0ac0926 6cb5d69 0ac0926 6cb5d69 6ba5544 361e060 0beeed1 bfff3c7 0beeed1 6ba5544 | 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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 | ---
dataset_name: "FryAI Pie – AI Knowledge Graph Dataset (Preview)"
pretty_name: "FryAI Pie Knowledge Graph (Preview)"
license: "apache-2.0"
tags:
- ai
- rag
- knowledge-graph
- embeddings
- semantic-search
- llm
- machine-learning
- dataset
- education
size_categories:
- n<1K
task_categories:
- text-retrieval
- feature-extraction
- question-answering
task_ids:
- document-retrieval
- utterance-retrieval
homepage: "https://automatekc.gumroad.com/l/lghqtv"
repository: "https://huggingface.co/datasets/Lucasautomatekc/fryai-pie-knowledge-graph"
language:
- en
annotations_creators:
- machine-generated
---
# FryAI Pie – AI Knowledge Graph Dataset (Preview)
### Structured AI explanations, topic clusters, embeddings, and RAG‑ready data
This repository contains a **free preview** of the FryAI Pie Knowledge Graph Dataset — a structured, developer‑friendly dataset designed for:
- RAG pipelines
- Semantic search
- AI education tools
- Topic clustering
- Knowledge graph exploration
- Embedding‑based retrieval
- LLM fine‑tuning and evaluation
The **full dataset** (500+ explanations, full graph, full embeddings, full RAG chunks) is available on Gumroad.
---
## 🔗 Full Dataset (Paid)
Get the complete dataset here:
**https://automatekc.gumroad.com/l/lghqtv**
Includes:
- 500+ human‑readable explanations
- Full topic/category/cluster metadata
- Full knowledge graph (hundreds of nodes + edges)
- Full RAG chunks
- Full embeddings (26MB)
- Clean JSON structure
- Ready for production RAG systems
---
## 🔗 API Access (RapidAPI)
Prefer API access instead of downloading files?
Use the hosted API version:
**https://rapidapi.com/lucasautomatekc/api/fryai-knowledge-graph-api**
---
# 📦 What’s Included in This Preview
This HuggingFace repo includes **small, safe sample files** that demonstrate the dataset structure without revealing the full paid content.
### Included (Free Preview)
- `sample_topics.json`
- `sample_clusters.json`
- `sample_embeddings.json`
- `sample_graph.json`
- `sample_rag_chunks.json`
### Not Included (Paid Only)
- Full articles
- Full topic/category metadata
- Full clusters
- Full knowledge graph
- Full embeddings
- Full RAG chunks
- Full ZIP dataset
---
# 🧠 Dataset Structure (Preview)
### Topics (sample)
```
{
"ai-chips-memory-requirements": {
"slug": "ai-chips-memory-requirements",
"question": "How do AI chip memory requirements work?"
},
"agentic-ai": {
"slug": "agentic-ai",
"question": "How does agentic AI work?"
}
}
```
---
### Clusters (sample)
```
{
"artificial-intelligence": {
"slug": "artificial-intelligence",
"name": "Artificial Intelligence Topic Cluster",
"articles": ["what-is-ai-liability"]
}
}
```
---
### Knowledge Graph (sample)
```
[
{
"id": "topic:ai-chips-memory-requirements",
"type": "topic",
"slug": "ai-chips-memory-requirements",
"edges": [
{ "target": "article:how-does-ai-chips-memory-requirements-work", "type": "explains" }
]
}
]
```
---
### Embeddings (sample)
```
[
{
"id": "topic:ai-chips-memory-requirements",
"type": "topic",
"slug": "ai-chips-memory-requirements",
"vector": [0.0313, -0.0237, 0.0314, -0.0207, 0.0215]
}
]
```
---
### RAG Chunks (sample)
```
[
{
"id": "chunk:ai-chips-memory-requirements-1",
"articleSlug": "how-does-ai-chips-memory-requirements-work",
"chunkIndex": 0,
"text": "Sample text explaining how AI chip memory requirements work...",
"vector": [0.0123, -0.0044, 0.0099, 0.0021, -0.0033]
}
]
```
---
# 🧪 Example Usage (Python)
### Load topics
```python
import json
with open("sample_topics.json") as f:
topics = json.load(f)
print(topics.keys())
```
---
### Load embeddings
```python
import json
import numpy as np
with open("sample_embeddings.json") as f:
data = json.load(f)
vec = np.array(data[0]["vector"])
print(vec.shape)
```
---
### Simple semantic search (preview)
```python
import numpy as np
def cosine_similarity(a, b):
return np.dot(a, b) / (np.linalg.norm(a) * np.linalg.norm(b))
query = np.array([0.01, -0.02, 0.03, -0.01, 0.02])
scores = []
for item in data:
sim = cosine_similarity(query, np.array(item["vector"]))
scores.append((item["slug"], sim))
sorted(scores, key=lambda x: x[1], reverse=True)
```
---
### RAG Chunk Example
```python
with open("sample_rag_chunks.json") as f:
chunks = json.load(f)
for c in chunks:
print(c["articleSlug"], c["text"])
```
---
# 🏗️ Intended Use Cases
- RAG pipelines
- Semantic search
- AI education tools
- Topic clustering
- Knowledge graph exploration
- Embedding‑based retrieval
- LLM evaluation
- Fine‑tuning datasets
- AI explainability tools
---
# 🏷️ Tags
```
ai
rag
knowledge-graph
embeddings
semantic-search
llm
machine-learning
dataset
education
```
---
# 📄 License
**Preview License:** apache-2.0
Full dataset license included in the Gumroad package.
---
# 🙌 Support the Project
If you find this dataset useful, consider grabbing the full version or starring the repo.
Your support helps expand the dataset with new topics, clusters, and explanations.
```
|