mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-11 09:51:44 +08:00
@@ -1,19 +1,19 @@
|
||||
export enum McpServerType {
|
||||
Sse = 'sse',
|
||||
StreamableHttp = 'streamable-http',
|
||||
Sse = 'sse',
|
||||
StreamableHttp = 'streamable-http',
|
||||
}
|
||||
|
||||
export interface IMcpServerVariable {
|
||||
key: string;
|
||||
name: string;
|
||||
key: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface IMcpServerInfo {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
server_type: McpServerType;
|
||||
description?: string;
|
||||
variables?: IMcpServerVariable[];
|
||||
headers: Map<string, string>;
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
server_type: McpServerType;
|
||||
description?: string;
|
||||
variables?: IMcpServerVariable[];
|
||||
headers: Map<string, string>;
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
export type ILLMTools = ILLMToolMetadata[];
|
||||
|
||||
export interface ILLMToolMetadata {
|
||||
name: string;
|
||||
displayName: string;
|
||||
displayDescription: string;
|
||||
parameters: Map<string, ILLMToolParameter>;
|
||||
name: string;
|
||||
displayName: string;
|
||||
displayDescription: string;
|
||||
parameters: Map<string, ILLMToolParameter>;
|
||||
}
|
||||
|
||||
export interface ILLMToolParameter {
|
||||
type: string;
|
||||
displayDescription: string;
|
||||
type: string;
|
||||
displayDescription: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user