@voscarmv/aimessagestore 1.0.6 → 1.0.7

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.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,9 +2,11 @@
2
2
 
3
3
  Message storage and retrieval backend for [@voscarmv/aichatbot](https://www.npmjs.com/package/@voscarmv/aichatbot)
4
4
 
5
- ## Install
5
+ ## Usage
6
6
 
7
- You may install `postgresql` and create a new username, password and database, with this script:
7
+ You may use this as per [the demo.](https://github.com/voscarmv/aibot)
8
+
9
+ Or as a standalone backend for a @voscarmv/aichatbot project. For that, install `postgresql` and create a new username, password and database, with this script:
8
10
 
9
11
  ```bash
10
12
  #!/bin/bash
@@ -33,4 +35,4 @@ echo "DATABASE_URL=postgres://$PGUSER:$PASS@localhost/$DB" >> .env
33
35
  echo "✅ Database, user, and .env file created. Edit .env if needed."
34
36
  ```
35
37
 
36
- Then just `npx drizzle-kit create` to create your `schema.ts` and you are ready to deploy with `npm publish`.
38
+ And then just run an instance of `MessageStoreBackend()` as in [this example.](https://github.com/voscarmv/aibot/blob/main/src/server.ts)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voscarmv/aimessagestore",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Message storage and retrieval for aichatbot framework ",
5
5
  "keywords": [
6
6
  "ai",