Feat/chat support voice input (#532)

This commit is contained in:
zxhlyh 2023-07-07 17:50:42 +08:00 committed by GitHub
commit a03a92e9db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 1420 additions and 26 deletions

View file

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