1.添加移动端用户的检测工具类,移动端用户只能访问对话页面。
2.评查点列表添加文档属性类型字段。 3.优化dify的对话侧边栏的显示效果。 4.评查点规则添加使用文档属性类型的输入框。添加多实体开关的操作开关。
This commit is contained in:
@@ -15,6 +15,7 @@ interface EvaluationPoint {
|
||||
};
|
||||
evaluation_point_groups_pid?: number | null; // 评查点类型组ID
|
||||
evaluation_point_groups_id?: number | null; // 所属评查组ID
|
||||
document_attribute_type?: string; // 适用文档属性类型
|
||||
extraction_config?: ExtactionConfigType; // 抽取配置
|
||||
evaluation_config?: EvaluationConfigType; // 评查配置
|
||||
pass_message?: string; // 通过消息
|
||||
@@ -41,10 +42,24 @@ type SuggestionMessageType = 'info' | 'warning' | 'error';
|
||||
*/
|
||||
type PostActionType = 'none' | 'manual' | 'replace';
|
||||
|
||||
/**
|
||||
* 多实体抽取配置类型定义
|
||||
*/
|
||||
interface MultiEntityConfig {
|
||||
enabled: boolean; // 是否启用多实体抽取
|
||||
expand_mode: MultiEntityExpandMode; // 展开模式
|
||||
}
|
||||
|
||||
/**
|
||||
* 多实体展开模式类型定义
|
||||
*/
|
||||
type MultiEntityExpandMode = 'awareness'; // AI感知模式
|
||||
|
||||
/**
|
||||
* 抽取配置类型定义
|
||||
*/
|
||||
interface ExtactionConfigType {
|
||||
multi_entity?: MultiEntityConfig; // 多实体抽取配置(控制抽取阶段是否按实体展开字段)
|
||||
llm: {
|
||||
fields: string[];
|
||||
prompt_setting: LLMPromptSetting;
|
||||
@@ -312,6 +327,8 @@ export type {
|
||||
SuggestionMessageType,
|
||||
PostActionType,
|
||||
ExtactionConfigType,
|
||||
MultiEntityConfig,
|
||||
MultiEntityExpandMode,
|
||||
VLMPromptSetting,
|
||||
VLMFieldType,
|
||||
LLMPromptSetting,
|
||||
|
||||
@@ -18,6 +18,7 @@ export interface Rule {
|
||||
prompt: string;
|
||||
isActive: boolean;
|
||||
area?: string; // 地区
|
||||
documentAttributeType?: string; // 文档属性类型
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user