Update models.ts

This commit is contained in:
Nicolas 2024-07-15 22:52:17 -04:00 committed by GitHub
parent 1b7ae5457f
commit 4ef47f7765
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@ function prepareOpenAIDoc(
export async function generateOpenAICompletions({
client,
model = process.env.MODEL_NAME,
model = process.env.MODEL_NAME || "gpt-4o",
document,
schema, //TODO - add zod dynamic type checking
prompt = defaultPrompt,