From 8c7250007034d81b5a91eaa2387a75b9e3c198e8 Mon Sep 17 00:00:00 2001 From: yisding Date: Mon, 6 Nov 2023 12:58:12 -0800 Subject: [PATCH] 0.0.34 --- .changeset/polite-impalas-kick.md | 5 ----- apps/simple/CHANGELOG.md | 7 +++++++ apps/simple/openai.ts | 4 ++-- apps/simple/package.json | 2 +- packages/core/CHANGELOG.md | 6 ++++++ packages/core/package.json | 2 +- 6 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 .changeset/polite-impalas-kick.md diff --git a/.changeset/polite-impalas-kick.md b/.changeset/polite-impalas-kick.md deleted file mode 100644 index 18dce0dadd..0000000000 --- a/.changeset/polite-impalas-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"llamaindex": patch ---- - -Add support for gpt-3.5-turbo-1106 diff --git a/apps/simple/CHANGELOG.md b/apps/simple/CHANGELOG.md index 026b6c49b3..517f545e68 100644 --- a/apps/simple/CHANGELOG.md +++ b/apps/simple/CHANGELOG.md @@ -1,5 +1,12 @@ # simple +## 0.0.32 + +### Patch Changes + +- Updated dependencies [2a27e21] + - llamaindex@0.0.34 + ## 0.0.31 ### Patch Changes diff --git a/apps/simple/openai.ts b/apps/simple/openai.ts index e397e349d4..61acb5edd7 100644 --- a/apps/simple/openai.ts +++ b/apps/simple/openai.ts @@ -1,7 +1,7 @@ import { OpenAI } from "llamaindex"; (async () => { - const llm = new OpenAI({ model: "gpt-3.5-turbo-1106", temperature: 0.1 }); + const llm = new OpenAI({ model: "gpt-4-1106-preview", temperature: 0.1 }); // complete api const response1 = await llm.complete("How are you?"); @@ -9,7 +9,7 @@ import { OpenAI } from "llamaindex"; // chat api const response2 = await llm.chat([ - { content: "Tell me a joke!", role: "user" }, + { content: "Tell me a joke.", role: "user" }, ]); console.log(response2.message.content); })(); diff --git a/apps/simple/package.json b/apps/simple/package.json index 6c1b1a8940..a10489a92d 100644 --- a/apps/simple/package.json +++ b/apps/simple/package.json @@ -1,5 +1,5 @@ { - "version": "0.0.31", + "version": "0.0.32", "private": true, "name": "simple", "dependencies": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index c7179461f8..efa3821f91 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # llamaindex +## 0.0.34 + +### Patch Changes + +- 2a27e21: Add support for gpt-3.5-turbo-1106 + ## 0.0.33 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index e33aa139e9..ae919de87c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "llamaindex", - "version": "0.0.33", + "version": "0.0.34", "license": "MIT", "dependencies": { "@anthropic-ai/sdk": "^0.9.0",