Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 166 additions & 0 deletions fern/apis/fai/openapi/openapi.json → fern/apis/fai/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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": {
Expand Down
Loading