Skip to content

Commit

Permalink
0.0.34
Browse files Browse the repository at this point in the history
  • Loading branch information
yisding committed Nov 6, 2023
1 parent 2a27e21 commit 8c72500
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .changeset/polite-impalas-kick.md

This file was deleted.

7 changes: 7 additions & 0 deletions apps/simple/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# simple

## 0.0.32

### Patch Changes

- Updated dependencies [2a27e21]
- [email protected]

## 0.0.31

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/simple/openai.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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?");
console.log(response1.message.content);

// 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);
})();
2 changes: 1 addition & 1 deletion apps/simple/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.31",
"version": "0.0.32",
"private": true,
"name": "simple",
"dependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# llamaindex

## 0.0.34

### Patch Changes

- 2a27e21: Add support for gpt-3.5-turbo-1106

## 0.0.33

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "llamaindex",
"version": "0.0.33",
"version": "0.0.34",
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "^0.9.0",
Expand Down

0 comments on commit 8c72500

Please sign in to comment.