ctod 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -1
- package/examples/chatgpt3.5-broker.ts +1 -1
- package/examples/chatgpt3.5.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
<br>
|
|
2
2
|
|
|
3
3
|
<h1 align="center">CtoD</h1>
|
|
4
|
-
<h3 align="center">Chat To Data
|
|
4
|
+
<h3 align="center">Chat To Data</h3>
|
|
5
|
+
|
|
6
|
+
<p align="center">
|
|
7
|
+
<a href="https://www.npmjs.com/package/ctod">
|
|
8
|
+
<img src="https://img.shields.io/npm/v/ctod.svg">
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://github.com/KHC-ZhiHao/ctod">
|
|
11
|
+
<img src="https://img.shields.io/github/stars/KHC-ZhiHao/ctod.svg?style=social">
|
|
12
|
+
</a>
|
|
13
|
+
<br>
|
|
14
|
+
</p>
|
|
5
15
|
|
|
6
16
|
<br>
|
|
7
17
|
|
|
18
|
+
[繁體中文說明](./README-TW.md)
|
|
19
|
+
|
|
8
20
|
## Summary
|
|
9
21
|
|
|
10
22
|
This tool utilizes the natural language processing capability of chatbots to deliver our requirements and data in a conversational manner and request a response in a serializable format, such as JSON.
|
|
@@ -5,7 +5,7 @@ import { ChatGPT35Broker, templates } from '../lib/index'
|
|
|
5
5
|
/**
|
|
6
6
|
* @zh 這裡示範如何透過 ChatGPT35Broker 從使用者獲取疑問中獲取最佳索引
|
|
7
7
|
* @en Here is a demonstration of how to use ChatGPT35Broker to obtain the best index from the user's queries.
|
|
8
|
-
* @
|
|
8
|
+
* @test npx ts-node ./examples/chatgpt3.5-broker.ts
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
flow.run(async() => {
|
package/examples/chatgpt3.5.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ChatGPT35 } from '../lib/index'
|
|
|
5
5
|
/**
|
|
6
6
|
* @zh 這裡示範如何透過 ChatGPT35 持續對話
|
|
7
7
|
* @en Here is a demonstration of how to use ChatGPT35Broker to obtain the best index from the user's queries.
|
|
8
|
-
* @
|
|
8
|
+
* @test npx ts-node ./examples/chatgpt3.5.ts
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
flow.run(async() => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ctod",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "CtoD Is
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"description": "CtoD Is Chat To Data, support chatGPT3 and 3.5 now!",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "cross-env webpack --progress",
|