Skip to content

Commit f7f2c5d

Browse files
committed
feat: use gpt4
1 parent 2436338 commit f7f2c5d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/qa/src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ import { QABox } from 'qabox';
66

77
export async function getQABox() {
88
const store = await HNSWLib.load(SEARCH_PATH, new OpenAIEmbeddings());
9-
const qabox = new QABox(store, new OpenAI({ temperature: 0 }));
9+
10+
const qabox = new QABox(
11+
store,
12+
new OpenAI({ temperature: 0, modelName: 'gpt-4' }),
13+
);
1014

1115
return qabox;
1216
}

0 commit comments

Comments
 (0)