From 3dcb27b2f91c51748b11c431b6cb88992aed35d9 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Mon, 2 Nov 2026 17:55:32 +0330 Subject: [PATCH] last ... --- Documents/Resources/Json/Requests.md | 178 ++++++++++++++++++++++++--- 1 file changed, 160 insertions(+), 18 deletions(-) diff --git a/Documents/Resources/Json/Requests.md b/Documents/Resources/Json/Requests.md index 5158e25..1f5d5db 100644 --- a/Documents/Resources/Json/Requests.md +++ b/Documents/Resources/Json/Requests.md @@ -1,29 +1,69 @@ +# Models for Use + +## Authentication + +Request: + +```json { "password": "s@H@1694056", "userSelectBy": "admin" } +``` +Response: + +```json { - "accessToken": "CA54B9A57386A09497664B2477708F17E54EDE17F3794E16269CC37173F29821", - "refreshToken": "F4841DBA1C4633B3D93EAF78A065694DBA198E844BBAC8E2BE5E02079DD892DC", - "expiresAt": 1793540291 + "accessToken": "A6590CF564437A98E8F74C72E8F2EBDD8ECCFFB345D23AAC47784350E61A0140", + "refreshToken": "C2A8FEBCCFF737397F83F2A76CF8511EF323C7F1F4733AB882B66D51AEDFB733", + "expiresAt": 1793628969 } +``` +ApiKeys: + +### IDS RPK + +xapp_WUQW1XIVNPTLXkqH9kOLKsIueXpqA_Qx9ZWJqiC2mA4 + +### IDS MacSlim 1 + +xapp_xIEUusVi0dmHCLeUvUrCGh-f6EtvEbCa8dYL4nGegus + +### IDS MacSlim 2 + +xapp_sH0MbXEkCNEP9CQ_RLEkD-Fh7QhGUnzwyGcJfSmy_VY + +## Chat With Documents + +### Ingest + +Response: + +```json { - "sessionId": "7f871358-1f00-4444-a10f-d3aed06e5826", - "filesCount": 3, - "chunksCount": 128, - "totalVectorsCount": 128, + "sessionId": "36e4d6e4-768f-4622-90d7-f79af449df9d", + "filesCount": 9, + "chunksCount": 208, + "totalVectorsCount": 208, "skippedFiles": [], - "expiresAtUtc": "2026-10-30T07:49:41.5926071Z" + "expiresAtUtc": "2026-11-02T13:48:15.7779591Z" } +``` +### Ask from Documents + +Request: + +```json { - "sessionId": "7f871358-1f00-4444-a10f-d3aed06e5826", - "prompt": "what is MCP ?", - "topK": 6, - "minScore": 3.5 + "sessionId": "36e4d6e4-768f-4622-90d7-f79af449df9d", + "prompt": "give me an overview of an ai system architecture", + "topK": 5, + "minScore": 0.35 } +``` { "prompt": "who are you ?", @@ -37,11 +77,113 @@ "conversationId": "" } -IDS RPK: -xapp_WUQW1XIVNPTLXkqH9kOLKsIueXpqA_Qx9ZWJqiC2mA4 +## Knowledge -IDS MacSlim 1: -xapp_xIEUusVi0dmHCLeUvUrCGh-f6EtvEbCa8dYL4nGegus +### Retrieve Documents -IDS MacSlim 2: -xapp_sH0MbXEkCNEP9CQ_RLEkD-Fh7QhGUnzwyGcJfSmy_VY \ No newline at end of file +Response: + +```json +[ + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "1-ParsaPolimer-RFP-Analythic.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 18, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + }, + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "2-ParsaPolimer-BigArchitecture.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 21, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + }, + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "3-ParsaPolimer-BPMN2.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 9, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + }, + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "4-ParsaPolimer-Roadmap.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 28, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + }, + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "5-RoadmapSH.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 24, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + }, + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "6-ParsaPolimer-TechnicalRoadmap.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 28, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + }, + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "AI Proposal 1.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 26, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + }, + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "AI Proposal 2.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 28, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + }, + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "AI Proposal 3.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 26, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + }, + { + "scope": 2, + "scopeId": null, + "type": "XAiKnowledge", + "fileName": "AirLLM-Document.html", + "mimeType": "text/html", + "ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969", + "chunksCount": 8, + "ingestedAtUtc": "2026-11-02T05:48:59.5176187Z" + } +] +```