@hasura/promptql 2.0.0-alpha.1 → 2.0.0-alpha.2
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/.turbo/turbo-build.log +16 -0
- package/README.md +8 -5
- package/dist/index.d.mts +4404 -0
- package/dist/index.d.ts +4404 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$ tsup src/index.ts --minify --clean --format cjs,esm --dts
|
|
2
|
+
[34mCLI[39m Building entry: src/index.ts
|
|
3
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
4
|
+
[34mCLI[39m tsup v8.5.1
|
|
5
|
+
[34mCLI[39m Target: es2022
|
|
6
|
+
[34mCLI[39m Cleaning output folder
|
|
7
|
+
[34mCJS[39m Build start
|
|
8
|
+
[34mESM[39m Build start
|
|
9
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m20.78 KB[39m
|
|
10
|
+
[32mESM[39m ⚡️ Build success in 108ms
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m22.94 KB[39m
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 112ms
|
|
13
|
+
[34mDTS[39m Build start
|
|
14
|
+
[32mDTS[39m ⚡️ Build success in 5181ms
|
|
15
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m149.48 KB[39m
|
|
16
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m149.48 KB[39m
|
package/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# PromptQL TypeScript SDK
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The PromptQL TypeScript SDK is a general-purpose SDK that interacts with the [PromptQL API](https://promptql.hasura.io) by Hasura. PromptQL enables natural language querying of your data through an AI-powered interface.
|
|
4
|
+
|
|
5
|
+
> [!NOTE]
|
|
6
|
+
> This SDK supports PromptQL v2. Please install [@hasura/promptql@1.0.0](https://www.npmjs.com/package/@hasura/promptql/v/1.0.0) if you wants to integrate PromptQL v1.
|
|
4
7
|
|
|
5
8
|
## Features
|
|
6
9
|
|
|
@@ -21,20 +24,20 @@ A TypeScript SDK for interacting with the [PromptQL API](https://promptql.hasura
|
|
|
21
24
|
## Installation
|
|
22
25
|
|
|
23
26
|
```bash
|
|
24
|
-
npm install @hasura/promptql
|
|
27
|
+
npm install @hasura/promptql@latest
|
|
25
28
|
```
|
|
26
29
|
|
|
27
30
|
Or with your preferred package manager:
|
|
28
31
|
|
|
29
32
|
```bash
|
|
30
33
|
# Yarn
|
|
31
|
-
yarn add @hasura/promptql
|
|
34
|
+
yarn add @hasura/promptql@latest
|
|
32
35
|
|
|
33
36
|
# pnpm
|
|
34
|
-
pnpm add @hasura/promptql
|
|
37
|
+
pnpm add @hasura/promptql@latest
|
|
35
38
|
|
|
36
39
|
# Bun
|
|
37
|
-
bun add @hasura/promptql
|
|
40
|
+
bun add @hasura/promptql@latest
|
|
38
41
|
```
|
|
39
42
|
|
|
40
43
|
## Quick Start
|