Skip to content

Commit

Permalink
Using GPT 4 everywhere (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsproston-scottlogic authored Sep 7, 2023
1 parent 12b1636 commit 8cea833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/langchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function initPromptEvaluationModel(openAiApiKey: string) {

const promptInjectionChain = new LLMChain({
llm: new OpenAI({
modelName: CHAT_MODELS.GPT_3_5_TURBO,
modelName: CHAT_MODELS.GPT_4,
temperature: 0,
openAIApiKey: openAiApiKey,
}),
Expand All @@ -160,7 +160,7 @@ function initPromptEvaluationModel(openAiApiKey: string) {
);
const maliciousInputChain = new LLMChain({
llm: new OpenAI({
modelName: CHAT_MODELS.GPT_3_5_TURBO,
modelName: CHAT_MODELS.GPT_4,
temperature: 0,
openAIApiKey: openAiApiKey,
}),
Expand Down

0 comments on commit 8cea833

Please sign in to comment.