This commit is contained in:
parent
72abcbeb26
commit
40a458989b
|
|
@ -96,13 +96,13 @@ export const GlobalState: FC<GlobalStateProps> = ({ children }) => {
|
|||
const [userInput, setUserInput] = useState<string>("")
|
||||
const [chatMessages, setChatMessages] = useState<ChatMessage[]>([])
|
||||
const [chatSettings, setChatSettings] = useState<ChatSettings>({
|
||||
model: "gpt-4-turbo-preview",
|
||||
model: "GPT",
|
||||
prompt: "You are a helpful AI assistant.",
|
||||
temperature: 0.5,
|
||||
contextLength: 4000,
|
||||
includeProfileContext: true,
|
||||
includeWorkspaceInstructions: true,
|
||||
embeddingsProvider: "openai"
|
||||
embeddingsProvider: "bge-m3"
|
||||
})
|
||||
const [selectedChat, setSelectedChat] = useState<Tables<"chats"> | null>(null)
|
||||
const [chatFileItems, setChatFileItems] = useState<Tables<"file_items">[]>([])
|
||||
|
|
|
|||
Loading…
Reference in New Issue