This commit is contained in:
parent
40a458989b
commit
c54328b2c8
|
|
@ -96,7 +96,7 @@ export const GlobalState: FC<GlobalStateProps> = ({ children }) => {
|
||||||
const [userInput, setUserInput] = useState<string>("")
|
const [userInput, setUserInput] = useState<string>("")
|
||||||
const [chatMessages, setChatMessages] = useState<ChatMessage[]>([])
|
const [chatMessages, setChatMessages] = useState<ChatMessage[]>([])
|
||||||
const [chatSettings, setChatSettings] = useState<ChatSettings>({
|
const [chatSettings, setChatSettings] = useState<ChatSettings>({
|
||||||
model: "GPT",
|
model: "gpt",
|
||||||
prompt: "You are a helpful AI assistant.",
|
prompt: "You are a helpful AI assistant.",
|
||||||
temperature: 0.5,
|
temperature: 0.5,
|
||||||
contextLength: 4000,
|
contextLength: 4000,
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ export type LLMID =
|
||||||
|
|
||||||
// OpenAI Models (UPDATED 5/13/24)
|
// OpenAI Models (UPDATED 5/13/24)
|
||||||
export type OpenAILLMID =
|
export type OpenAILLMID =
|
||||||
|
| "gpt" // API compatiable
|
||||||
| "gpt-4o" // GPT-4o
|
| "gpt-4o" // GPT-4o
|
||||||
| "gpt-4-turbo-preview" // GPT-4 Turbo
|
| "gpt-4-turbo-preview" // GPT-4 Turbo
|
||||||
| "gpt-4-vision-preview" // GPT-4 Vision
|
| "gpt-4-vision-preview" // GPT-4 Vision
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue