Phase 7: Hoàn thiện Modular RAG Backend với FastAPI và Đa LLM Provider

This commit is contained in:
2026-05-08 07:30:30 +00:00
commit 26d1298cf6
51 changed files with 5360 additions and 0 deletions

12
scratch/test_item.py Normal file
View File

@@ -0,0 +1,12 @@
import os
import sys
import json
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from ingestion.graph_client import GraphClient
client = GraphClient()
drive_id = "b!15GOzaN4pU2LRNmRYc8vat7d48GJXyJBj-eKaLgrGv9svCswiraBQalAnVnRMl79"
item_id = "01BP532D2O74Z6FYQPOVBKE5DBMYDWCWCK"
url = f"https://graph.microsoft.com/v1.0/drives/{drive_id}/items/{item_id}"
resp = client._make_request("GET", url)
print(json.dumps(resp, indent=2))