Phase 7: Hoàn thiện Modular RAG Backend với FastAPI và Đa LLM Provider
This commit is contained in:
12
scratch/test_item.py
Normal file
12
scratch/test_item.py
Normal 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))
|
||||
Reference in New Issue
Block a user