Feat/chat add origin (#1130)

This commit is contained in:
zxhlyh 2023-09-09 19:17:12 +08:00 committed by GitHub
commit 84c76bc04a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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[]
}