-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,251 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,5 +41,9 @@ | |
"json", | ||
"jsonc", | ||
"yaml" | ||
], | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"cSpell.words": [ | ||
"deepseek" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
OPENAI_API_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# AI | ||
|
||
Based on [openai-node](https://github.com/openai/openai-node). | ||
|
||
- API from [DeepSeek](https://platform.deepseek.com/). | ||
|
||
## FAQ | ||
|
||
### Why not use [langchain.js](https://js.langchain.com/)? | ||
|
||
- It's too complex, and the documentation isn't friendly. I tried running a demo on the official website, but the api indicated deprecate. | ||
- It's hard for me to get raw data on api responses. | ||
- The openai sdk download is higher. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"private": true, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"dependencies": { | ||
"consola": "^3.2.3", | ||
"dotenv": "^16.4.1", | ||
"openai": "^4.26.0" | ||
} | ||
} |
Oops, something went wrong.