feat: add memory v2 admin controls
This commit is contained in:
@@ -255,6 +255,34 @@ export type MindSpaceAdminConfig = {
|
||||
publicPageLimit: number;
|
||||
};
|
||||
|
||||
export type MemoryV2AdminSection = Record<string, string | boolean>;
|
||||
export type MemoryV2ModelApiType = 'chat' | 'response';
|
||||
|
||||
export type MemoryV2AdminConfig = {
|
||||
global: {
|
||||
enabled?: boolean;
|
||||
backend?: string;
|
||||
profileEnabled?: boolean;
|
||||
eventLogEnabled?: boolean;
|
||||
vectorEnabled?: boolean;
|
||||
failOpen?: boolean;
|
||||
};
|
||||
pgvector: MemoryV2AdminSection;
|
||||
qdrant: MemoryV2AdminSection;
|
||||
weaviate: MemoryV2AdminSection;
|
||||
mem0: MemoryV2AdminSection;
|
||||
letta: MemoryV2AdminSection;
|
||||
neo4j: MemoryV2AdminSection;
|
||||
redisStreams: MemoryV2AdminSection;
|
||||
langgraph: MemoryV2AdminSection;
|
||||
};
|
||||
|
||||
export type MemoryV2AdminConfigResponse = {
|
||||
config: MemoryV2AdminConfig;
|
||||
updatedAt: number | null;
|
||||
updatedBy: string | null;
|
||||
};
|
||||
|
||||
export type WechatBinding = {
|
||||
userId: string;
|
||||
username: string;
|
||||
|
||||
Reference in New Issue
Block a user