Feat/chat add origin (#1130)

This commit is contained in:
zxhlyh
2023-09-09 19:17:12 +08:00
committed by GitHub
parent 6effcd3755
commit 84c76bc04a
74 changed files with 2454 additions and 28 deletions

View File

@@ -33,6 +33,8 @@ export type SuggestedQuestionsAfterAnswerConfig = MoreLikeThisConfig
export type SpeechToTextConfig = MoreLikeThisConfig
export type CitationConfig = MoreLikeThisConfig
// frontend use. Not the same as backend
export type ModelConfig = {
provider: string // LLM Provider: for example "OPENAI"
@@ -48,6 +50,9 @@ export type ModelConfig = {
speech_to_text: {
enabled: boolean
} | null
retriever_resource: {
enabled: boolean
} | null
dataSets: any[]
}