feat: annotation management frontend (#1764)

This commit is contained in:
Joel
2023-12-18 15:41:24 +08:00
committed by GitHub
parent 96d2de2258
commit 65fd4b39ce
122 changed files with 4718 additions and 214 deletions

View File

@@ -1,4 +1,4 @@
import type { ChatPromptConfig, CompletionPromptConfig, DatasetConfigs, PromptMode } from '@/models/debug.ts'
import type { AnnotationReplyConfig, ChatPromptConfig, CompletionPromptConfig, DatasetConfigs, PromptMode } from '@/models/debug.ts'
import type { ExternalDataTool } from '@/models/common'
export enum ProviderType {
openai = 'openai',
@@ -130,6 +130,7 @@ export type ModelConfig = {
enabled: boolean
}
external_data_tools: ExternalDataTool[]
annotation_reply?: AnnotationReplyConfig
agent_mode: {
enabled: boolean
tools: ToolItem[]