From 5c4fae339b69575a21c5621f650b276e08f53742 Mon Sep 17 00:00:00 2001 From: eyw520 <64514273+eyw520@users.noreply.github.com> Date: Sat, 30 Aug 2025 00:36:51 +0000 Subject: [PATCH] update fern definition --- fern/apis/fai/{openapi => }/openapi.json | 166 +++++++++++++++++++++++ 1 file changed, 166 insertions(+) rename fern/apis/fai/{openapi => }/openapi.json (93%) diff --git a/fern/apis/fai/openapi/openapi.json b/fern/apis/fai/openapi.json similarity index 93% rename from fern/apis/fai/openapi/openapi.json rename to fern/apis/fai/openapi.json index eeb09adca..8ff9abecd 100644 --- a/fern/apis/fai/openapi/openapi.json +++ b/fern/apis/fai/openapi.json @@ -972,6 +972,110 @@ } } }, + "/mcp/semantic/{domain}": { + "post": { + "tags": [ + "Mcp" + ], + "summary": "Get Mcp Semantic Query", + "operationId": "get_mcp_semantic_query", + "parameters": [ + { + "name": "domain", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Domain" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetMcpSemanticQueryRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetMcpSemanticQueryResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/mcp/bmf/{domain}": { + "post": { + "tags": [ + "Mcp" + ], + "summary": "Get Mcp Bmf Query", + "operationId": "get_mcp_bmf_query", + "parameters": [ + { + "name": "domain", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Domain" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetMcpBmfQueryRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetMcpBmfQueryResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, "/queries": { "post": { "tags": [ @@ -1662,6 +1766,68 @@ ], "title": "GetInsightsResponse" }, + "GetMcpBmfQueryRequest": { + "properties": { + "keywords": { + "type": "string", + "title": "Keywords", + "description": "The bm25 keywords to get the documents for" + } + }, + "type": "object", + "required": [ + "keywords" + ], + "title": "GetMcpBmfQueryRequest" + }, + "GetMcpBmfQueryResponse": { + "properties": { + "documents": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Documents", + "description": "A list of documents that are relevant to the keyword" + } + }, + "type": "object", + "required": [ + "documents" + ], + "title": "GetMcpBmfQueryResponse" + }, + "GetMcpSemanticQueryRequest": { + "properties": { + "semantic_query": { + "type": "string", + "title": "Semantic Query", + "description": "The semantic query to get the documents for" + } + }, + "type": "object", + "required": [ + "semantic_query" + ], + "title": "GetMcpSemanticQueryRequest" + }, + "GetMcpSemanticQueryResponse": { + "properties": { + "documents": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Documents", + "description": "A list of documents that are semantically relevant to the query" + } + }, + "type": "object", + "required": [ + "documents" + ], + "title": "GetMcpSemanticQueryResponse" + }, "GetQueriesResponse": { "properties": { "queries": {