Skip to content

Commit 4276b14

Browse files
committed
🐛 FIX: formatting issue
1 parent 20c2220 commit 4276b14

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

examples/nodejs/examples/memory/memory.retrieve.filters.And.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ async function main() {
2424
memory: [
2525
{
2626
name: "langbase-docs",
27-
filters:["And", [
28-
["company", "Eq", "Langbase"],
29-
["category", "Eq", "docs"]
30-
]]
27+
filters: ["And", [
28+
["company", "Eq", "Langbase"],
29+
["category", "Eq", "docs"]
30+
]]
3131
},
3232
],
3333
query: "What are pipes in Langbase Docs?",

examples/nodejs/examples/memory/memory.retrieve.filters.advanced.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
* In this example, we retrieve memories with the following filters:
1010
* - company: Langbase
1111
* - category: docs or examples
12-
* - primative: Chunk or Threads
12+
* - primitive: Chunk or Threads
1313
*
1414
* We expect to get all chunks of memory from the Langbase Docs memory
15-
* that have the company Langbase, the category docs or examples, and the primative can be Chunk or Threads.
15+
* that have the company Langbase, the category docs or examples, and the primitive can be Chunk or Threads.
1616
*
1717
*/
1818

@@ -34,7 +34,7 @@ async function main() {
3434
["category", "Eq", "docs"],
3535
["category", "Eq", "examples"]
3636
]],
37-
["primative", "In", ["Chunk", "Threads"]]
37+
["primitive", "In", ["Chunk", "Threads"]]
3838
]]
3939
}
4040
],

0 commit comments

Comments
 (0)