Skip to content

Commit

Permalink
Switch to o1-mini
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-huff committed Sep 24, 2024
1 parent ca6dc3c commit 3c299f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openAI.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const chat = new ChatOpenAI({
const systemPrompt = process.env.SYSTEM_PROMPT || "You are a helpful assistant that can answer questions, provide information, and assist with tasks. You can also provide emotional support and engage in casual conversation. You are a friendly and helpful assistant that is always ready to help.";

const chatPrompt = ChatPromptTemplate.fromMessages([
["system", systemPrompt],
["user", systemPrompt],
new MessagesPlaceholder("history"),
["human", "{input}"],
]);
Expand Down

0 comments on commit 3c299f1

Please sign in to comment.