2023-12-13 10:22:02 +01:00
|
|
|
export const openAIVoices = [
|
|
|
|
'alloy',
|
|
|
|
'echo',
|
|
|
|
'fable',
|
|
|
|
'onyx',
|
|
|
|
'nova',
|
|
|
|
'shimmer',
|
|
|
|
] as const
|
|
|
|
|
2024-06-11 10:51:02 +02:00
|
|
|
export const modelsWithImageUrlSupport = [
|
|
|
|
'gpt-4-turbo*',
|
|
|
|
'gpt-4o*',
|
|
|
|
'gpt-4*vision-preview',
|
|
|
|
]
|
|
|
|
|
|
|
|
export const excludedModelsFromImageUrlSupport = ['gpt-4-turbo-preview']
|
|
|
|
|
2023-12-13 10:22:02 +01:00
|
|
|
export const defaultOpenAIOptions = {
|
|
|
|
baseUrl: 'https://api.openai.com/v1',
|
|
|
|
model: 'gpt-3.5-turbo',
|
|
|
|
voiceModel: 'tts-1',
|
|
|
|
temperature: 1,
|
|
|
|
} as const
|
2024-01-29 14:45:44 +01:00
|
|
|
|
|
|
|
export const maxToolCalls = 10
|