@san-francisco/sf-docs-embeddings 0.0.5 → 0.3.0
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 +8 -11
- package/deploy/data/seed_collection.sql +1 -1
- package/package.json +5 -5
- package/pgpm.plan +1 -1
package/README.md
CHANGED
|
@@ -3,15 +3,12 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center" width="100%">
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<a href="https://www.npmjs.com/package/@san-francisco/sf-docs-embeddings">
|
|
13
|
-
<img height="20" src="https://img.shields.io/github/package-json/v/city-of-san-francisco/sf-bot?filename=packages%2Fsf-docs-embeddings%2Fpackage.json"/>
|
|
14
|
-
</a>
|
|
6
|
+
<a href="https://github.com/city-of-san-francisco/license"><img height="20" src="https://img.shields.io/badge/license-SF-blue.svg"/></a>
|
|
7
|
+
<a href="https://github.com/city-of-san-francisco/sf-rag-utils/actions/workflows/ci.yml"><img height="20" src="https://github.com/city-of-san-francisco/sf-rag-utils/actions/workflows/ci.yml/badge.svg" /></a>
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
<p align="center" width="100%">
|
|
11
|
+
<a href="https://github.com/city-of-san-francisco/sf-rag-utils">A pgpm workspace for building agentic, database-driven AI applications for the City of San Francisco.</a>
|
|
15
12
|
</p>
|
|
16
13
|
|
|
17
14
|
# @san-francisco/sf-docs-embeddings
|
|
@@ -33,7 +30,7 @@ This package demonstrates how to ship pre-computed embeddings as PGPM migrations
|
|
|
33
30
|
|
|
34
31
|
```bash
|
|
35
32
|
# Install the RAG schema first
|
|
36
|
-
pgpm deploy @sf-
|
|
33
|
+
pgpm deploy @sf-ai/rag-core
|
|
37
34
|
|
|
38
35
|
# Then install this data package
|
|
39
36
|
pgpm deploy @san-francisco/sf-docs-embeddings
|
|
@@ -68,7 +65,7 @@ SELECT * FROM rag.export_embeddings_csv('your-collection-id');
|
|
|
68
65
|
|
|
69
66
|
## Dependencies
|
|
70
67
|
|
|
71
|
-
- `@sf-
|
|
68
|
+
- `@sf-ai/rag-core`
|
|
72
69
|
|
|
73
70
|
## License
|
|
74
71
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
-- Deploy data/seed_collection to pg
|
|
2
2
|
-- made with <3 @ constructive.io
|
|
3
3
|
|
|
4
|
-
-- requires:
|
|
4
|
+
-- requires: rag-core
|
|
5
5
|
|
|
6
6
|
-- This is an example data package showing how to ship embeddings as migrations.
|
|
7
7
|
-- In production, this would contain actual embeddings generated from SF documentation.
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@san-francisco/sf-docs-embeddings",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "San Francisco documentation embeddings - example RAG data package",
|
|
6
|
-
"homepage": "https://github.com/city-of-san-francisco/sf-
|
|
6
|
+
"homepage": "https://github.com/city-of-san-francisco/sf-rag-utils",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "https://github.com/city-of-san-francisco/sf-
|
|
13
|
+
"url": "https://github.com/city-of-san-francisco/sf-rag-utils"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/city-of-san-francisco/sf-
|
|
16
|
+
"url": "https://github.com/city-of-san-francisco/sf-rag-utils/issues"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"deploy",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"makage": "0.1.9",
|
|
41
41
|
"pgsql-test": "^2.18.15"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "5d991fa9af96892de7dc414d396a9875bbed72ba"
|
|
44
44
|
}
|
package/pgpm.plan
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
%project=sf-docs-embeddings
|
|
3
3
|
%uri=sf-docs-embeddings
|
|
4
4
|
|
|
5
|
-
data/seed_collection 2026-01-25T01:10:00Z constructive <constructive@sf-
|
|
5
|
+
data/seed_collection 2026-01-25T01:10:00Z constructive <constructive@sf-ai> # seed SF docs collection with example data
|