@zenera/rag 1.3.2 → 1.3.4

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 -5
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -136,7 +136,7 @@ zen rag schema stats What is in an index, and what built it.
136
136
  Index once, then ask:
137
137
 
138
138
  ```sh
139
- zen rag schema index --embedding openai:text-embedding-3-small ./specs/*.yaml
139
+ zen rag schema index --embedding openai/text-embedding-3-small ./specs/*.yaml
140
140
  zen rag schema search --output-property "user billing history"
141
141
  zen rag schema search --input-property "password reset token" --format ts
142
142
  zen rag schema search --interactive
@@ -328,7 +328,7 @@ zen rag docs stats What is in an index, and what built it.
328
328
  ```
329
329
 
330
330
  ```sh
331
- zen rag docs index --embedding openai:text-embedding-3-small ./docs
331
+ zen rag docs index --embedding openai/text-embedding-3-small ./docs
332
332
  zen rag docs search "how are rate limits counted"
333
333
  ```
334
334
 
@@ -519,8 +519,8 @@ Choose an embedding provider with `--embedding <ref>` when creating an index.
519
519
  Run `index` without the flag to see the providers available in your environment.
520
520
 
521
521
  ```sh
522
- zen rag docs index --embedding openai:text-embedding-3-small ./docs
523
- zen rag schema index --embedding openai:text-embedding-3-small ./specs
522
+ zen rag docs index --embedding openai/text-embedding-3-small ./docs
523
+ zen rag schema index --embedding openai/text-embedding-3-small ./specs
524
524
  ```
525
525
 
526
526
  The selected provider stays associated with the index, ensuring search uses a
@@ -548,7 +548,7 @@ agent can call:
548
548
  import { createEmbedder, loadProject } from '@zenera/neo';
549
549
  import { docs, SchemaIndex, schemaTools } from '@zenera/rag';
550
550
 
551
- const embedder = createEmbedder('openai:text-embedding-3-small');
551
+ const embedder = createEmbedder('openai/text-embedding-3-small');
552
552
  const api = await SchemaIndex.open('./schema-db', embedder);
553
553
  const handbook = await docs.DocsIndex.open('./docs-db', embedder);
554
554
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenera/rag",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "Retrieval over a corpus: openapi/swagger documents as a searchable graph, markdown and text as searchable passages.",
5
5
  "keywords": [
6
6
  "agents",
@@ -61,8 +61,8 @@
61
61
  "dependencies": {
62
62
  "@apidevtools/swagger-parser": "^12.0.0",
63
63
  "@lancedb/lancedb": "^0.38.0",
64
- "@zenera/cli": "^1.3.2",
65
- "@zenera/neo": "^1.3.2",
64
+ "@zenera/cli": "^1.3.4",
65
+ "@zenera/neo": "^1.3.4",
66
66
  "graphology": "^0.26.0",
67
67
  "remark-frontmatter": "^5.0.0",
68
68
  "remark-gfm": "^4.0.1",