We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2436338 commit f7f2c5dCopy full SHA for f7f2c5d
packages/qa/src/index.ts
@@ -6,7 +6,11 @@ import { QABox } from 'qabox';
6
7
export async function getQABox() {
8
const store = await HNSWLib.load(SEARCH_PATH, new OpenAIEmbeddings());
9
- const qabox = new QABox(store, new OpenAI({ temperature: 0 }));
+
10
+ const qabox = new QABox(
11
+ store,
12
+ new OpenAI({ temperature: 0, modelName: 'gpt-4' }),
13
+ );
14
15
return qabox;
16
}
0 commit comments