File size: 1,019 Bytes
4f8c53c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
graph TB
    subgraph "Client Applications"
        APP1[Python App]
        APP2[Node.js App]
        APP3[Claude Desktop]
        APP4[Web App]
    end
    
    subgraph "API Endpoints"
        REST[REST API<br/>HTTP/JSON]
        SSE[SSE Endpoint<br/>MCP Protocol]
        GRAD[Gradio API<br/>WebSocket]
    end
    
    subgraph "Integration Methods"
        M1[Direct HTTP Calls]
        M2[MCP Client SDK]
        M3[Gradio Client]
    end
    
    subgraph "API Functions"
        direction TB
        FUNC[Available Functions]
        F1[validate_rdf_tool<br/>POST /api/validate]
        F2[get_ai_suggestions<br/>POST /api/suggest]
        F3[get_ai_correction<br/>POST /api/correct]
        F4[get_rdf_examples<br/>GET /api/examples]
        
        FUNC --> F1
        FUNC --> F2
        FUNC --> F3
        FUNC --> F4
    end
    
    APP1 --> M1
    APP2 --> M1
    APP3 --> M2
    APP4 --> M3
    
    M1 --> REST
    M2 --> SSE
    M3 --> GRAD
    
    REST --> FUNC
    SSE --> FUNC
    GRAD --> FUNC