Skip to content
Snippets Groups Projects
Unverified Commit 23b73571 authored by Huu Le's avatar Huu Le Committed by GitHub
Browse files

chore: Use gpt-4o-mini as default (#173)

parent bd4714ca
Branches
Tags
No related merge requests found
---
"create-llama": patch
---
Use gpt-4o-mini as default model
......@@ -8,7 +8,7 @@ import { questionHandlers } from "../../questions";
const OPENAI_API_URL = "https://api.openai.com/v1";
const DEFAULT_MODEL = "gpt-3.5-turbo";
const DEFAULT_MODEL = "gpt-4o-mini";
const DEFAULT_EMBEDDING_MODEL = "text-embedding-3-large";
export async function askOpenAIQuestions({
......
......@@ -55,7 +55,7 @@ export const initSettings = async () => {
function initOpenAI() {
Settings.llm = new OpenAI({
model: process.env.MODEL ?? "gpt-3.5-turbo",
model: process.env.MODEL ?? "gpt-4o-mini",
maxTokens: process.env.LLM_MAX_TOKENS
? Number(process.env.LLM_MAX_TOKENS)
: undefined,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment