Skip to content

Commit 651e7af

Browse files
dsinghvieyw520
andauthored
Update fern definition (#656)
Co-authored-by: eyw520 <[email protected]>
1 parent 324374b commit 651e7af

File tree

1 file changed

+166
-0
lines changed

1 file changed

+166
-0
lines changed

fern/apis/fai/openapi/openapi.json renamed to fern/apis/fai/openapi.json

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,110 @@
972972
}
973973
}
974974
},
975+
"/mcp/semantic/{domain}": {
976+
"post": {
977+
"tags": [
978+
"Mcp"
979+
],
980+
"summary": "Get Mcp Semantic Query",
981+
"operationId": "get_mcp_semantic_query",
982+
"parameters": [
983+
{
984+
"name": "domain",
985+
"in": "path",
986+
"required": true,
987+
"schema": {
988+
"type": "string",
989+
"title": "Domain"
990+
}
991+
}
992+
],
993+
"requestBody": {
994+
"required": true,
995+
"content": {
996+
"application/json": {
997+
"schema": {
998+
"$ref": "#/components/schemas/GetMcpSemanticQueryRequest"
999+
}
1000+
}
1001+
}
1002+
},
1003+
"responses": {
1004+
"200": {
1005+
"description": "Successful Response",
1006+
"content": {
1007+
"application/json": {
1008+
"schema": {
1009+
"$ref": "#/components/schemas/GetMcpSemanticQueryResponse"
1010+
}
1011+
}
1012+
}
1013+
},
1014+
"422": {
1015+
"description": "Validation Error",
1016+
"content": {
1017+
"application/json": {
1018+
"schema": {
1019+
"$ref": "#/components/schemas/HTTPValidationError"
1020+
}
1021+
}
1022+
}
1023+
}
1024+
}
1025+
}
1026+
},
1027+
"/mcp/bmf/{domain}": {
1028+
"post": {
1029+
"tags": [
1030+
"Mcp"
1031+
],
1032+
"summary": "Get Mcp Bmf Query",
1033+
"operationId": "get_mcp_bmf_query",
1034+
"parameters": [
1035+
{
1036+
"name": "domain",
1037+
"in": "path",
1038+
"required": true,
1039+
"schema": {
1040+
"type": "string",
1041+
"title": "Domain"
1042+
}
1043+
}
1044+
],
1045+
"requestBody": {
1046+
"required": true,
1047+
"content": {
1048+
"application/json": {
1049+
"schema": {
1050+
"$ref": "#/components/schemas/GetMcpBmfQueryRequest"
1051+
}
1052+
}
1053+
}
1054+
},
1055+
"responses": {
1056+
"200": {
1057+
"description": "Successful Response",
1058+
"content": {
1059+
"application/json": {
1060+
"schema": {
1061+
"$ref": "#/components/schemas/GetMcpBmfQueryResponse"
1062+
}
1063+
}
1064+
}
1065+
},
1066+
"422": {
1067+
"description": "Validation Error",
1068+
"content": {
1069+
"application/json": {
1070+
"schema": {
1071+
"$ref": "#/components/schemas/HTTPValidationError"
1072+
}
1073+
}
1074+
}
1075+
}
1076+
}
1077+
}
1078+
},
9751079
"/queries": {
9761080
"post": {
9771081
"tags": [
@@ -1662,6 +1766,68 @@
16621766
],
16631767
"title": "GetInsightsResponse"
16641768
},
1769+
"GetMcpBmfQueryRequest": {
1770+
"properties": {
1771+
"keywords": {
1772+
"type": "string",
1773+
"title": "Keywords",
1774+
"description": "The bm25 keywords to get the documents for"
1775+
}
1776+
},
1777+
"type": "object",
1778+
"required": [
1779+
"keywords"
1780+
],
1781+
"title": "GetMcpBmfQueryRequest"
1782+
},
1783+
"GetMcpBmfQueryResponse": {
1784+
"properties": {
1785+
"documents": {
1786+
"items": {
1787+
"type": "string"
1788+
},
1789+
"type": "array",
1790+
"title": "Documents",
1791+
"description": "A list of documents that are relevant to the keyword"
1792+
}
1793+
},
1794+
"type": "object",
1795+
"required": [
1796+
"documents"
1797+
],
1798+
"title": "GetMcpBmfQueryResponse"
1799+
},
1800+
"GetMcpSemanticQueryRequest": {
1801+
"properties": {
1802+
"semantic_query": {
1803+
"type": "string",
1804+
"title": "Semantic Query",
1805+
"description": "The semantic query to get the documents for"
1806+
}
1807+
},
1808+
"type": "object",
1809+
"required": [
1810+
"semantic_query"
1811+
],
1812+
"title": "GetMcpSemanticQueryRequest"
1813+
},
1814+
"GetMcpSemanticQueryResponse": {
1815+
"properties": {
1816+
"documents": {
1817+
"items": {
1818+
"type": "string"
1819+
},
1820+
"type": "array",
1821+
"title": "Documents",
1822+
"description": "A list of documents that are semantically relevant to the query"
1823+
}
1824+
},
1825+
"type": "object",
1826+
"required": [
1827+
"documents"
1828+
],
1829+
"title": "GetMcpSemanticQueryResponse"
1830+
},
16651831
"GetQueriesResponse": {
16661832
"properties": {
16671833
"queries": {

0 commit comments

Comments
 (0)