Skip to content

Commit 2acf734

Browse files
committed
update to latest openai version
Adds native streaming, simplified code greatly
1 parent ec14f4d commit 2acf734

File tree

4 files changed

+259
-261
lines changed

4 files changed

+259
-261
lines changed

Diff for: package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"keywords": ["graphql", "gpt", "openai", "chat", "ai", "bot"],
1212
"dependencies": {
1313
"@graphql-tools/schema": "^10.0.0",
14-
"@graphql-yoga/plugin-graphql-sse": "^2.0.1",
15-
"dotenv": "^16.3.0",
16-
"graphql": "^16.6.0",
17-
"graphql-sse": "^2.1.4",
18-
"graphql-yoga": "^4.0.1",
19-
"openai": "^3.3.0"
14+
"@graphql-yoga/plugin-graphql-sse": "^2.0.5",
15+
"dotenv": "^16.3.1",
16+
"graphql": "^16.8.1",
17+
"graphql-sse": "^2.3.0",
18+
"graphql-yoga": "^4.0.5",
19+
"openai": "^4.11.1"
2020
},
2121
"devDependencies": {
2222
"@types/node": "20.3.1",

0 commit comments

Comments
 (0)