feat: annotation management frontend (#1764)

This commit is contained in:
Joel 2023-12-18 15:41:24 +08:00 committed by GitHub
commit 65fd4b39ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
122 changed files with 4718 additions and 214 deletions

View file

@ -73,6 +73,16 @@ export type SpeechToTextConfig = MoreLikeThisConfig
export type CitationConfig = MoreLikeThisConfig
export type AnnotationReplyConfig = {
id: string
enabled: boolean
score_threshold: number
embedding_model: {
embedding_provider_name: string
embedding_model_name: string
}
}
export type ModerationContentConfig = {
enabled: boolean
preset_response?: string