Skip to content

Commit

Permalink
Update default model name (langchain-ai#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos authored Mar 1, 2023
1 parent f18943e commit 7d148f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion langchain/src/llms/openai-chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class OpenAIChat extends LLM implements OpenAIInput {

logitBias?: Record<string, number>;

modelName = "text-davinci-003";
modelName = "gpt-3.5-turbo";

prefixMessages?: ChatCompletionRequestMessage[];

Expand Down
1 change: 0 additions & 1 deletion langchain/src/llms/tests/openai-chat.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ test("Test OpenAI", async () => {

test("Test OpenAI with prefix messages", async () => {
const model = new OpenAIChat({
modelName: "gpt-3.5-turbo",
prefixMessages: [
{ role: "user", content: "My name is John" },
{ role: "assistant", content: "Hi there" },
Expand Down

0 comments on commit 7d148f6

Please sign in to comment.