@askdb/ai-google 0.1.0-beta.1 → 0.1.0-beta.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/README.md +6 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
Google Generative AI / Gemini provider adapter for `@askdb/ai`.
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
|
-
import {
|
|
6
|
+
import { createAiRegistry } from "@askdb/ai";
|
|
7
7
|
import { googleProvider } from "@askdb/ai-google";
|
|
8
8
|
|
|
9
|
-
const ai =
|
|
9
|
+
const ai = createAiRegistry([googleProvider]);
|
|
10
10
|
```
|
|
11
|
+
|
|
12
|
+
## License
|
|
13
|
+
|
|
14
|
+
Apache-2.0 © [Yahya Gilany](https://yahyagilany.io). See [LICENSE](./LICENSE) and [NOTICE](./NOTICE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askdb/ai-google",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.2",
|
|
4
4
|
"description": "AskDB Google Generative AI provider adapter for @askdb/ai.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"askdb",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"node": ">=20"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ai-sdk/google": "^
|
|
43
|
-
"@askdb/ai": "0.1.0-beta.
|
|
42
|
+
"@ai-sdk/google": "^3.0.80",
|
|
43
|
+
"@askdb/ai": "0.1.0-beta.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"typescript": "^5.
|
|
47
|
-
"vitest": "^3.
|
|
46
|
+
"typescript": "^5.9.3",
|
|
47
|
+
"vitest": "^3.2.6"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "tsc -p tsconfig.build.json",
|