Skip to content

Commit

Permalink
Change model to gpt-4o-mini (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb committed Aug 13, 2024
1 parent c4cd7f5 commit 963a42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/langchain/langchain.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BaseChatModel } from "@langchain/core/language_models/chat_models";

const chatModelFactory = {
provide: "ChatModel",
useFactory: () => new ChatOpenAI({}) as BaseChatModel,
useFactory: () => new ChatOpenAI({ modelName: "gpt-4o-mini" }) as BaseChatModel,
};

@Module({
Expand Down

0 comments on commit 963a42a

Please sign in to comment.