docs: fix mangled Python formatting in pgvector & Neon vector store guides (#5853)
This commit is contained in:
@@ -47,8 +47,7 @@ filters={"user_id": "alice"},
|
|||||||
)
|
)
|
||||||
|
|
||||||
print(results)
|
print(results)
|
||||||
|
```
|
||||||
````
|
|
||||||
|
|
||||||
```typescript TypeScript
|
```typescript TypeScript
|
||||||
import "dotenv/config";
|
import "dotenv/config";
|
||||||
@@ -87,7 +86,7 @@ const results = await m.search("What movies should I recommend?", {
|
|||||||
});
|
});
|
||||||
|
|
||||||
console.log(results);
|
console.log(results);
|
||||||
````
|
```
|
||||||
|
|
||||||
</CodeGroup>
|
</CodeGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ messages = [
|
|||||||
]
|
]
|
||||||
m.add(messages, user_id="alice", metadata={"category": "movies"})
|
m.add(messages, user_id="alice", metadata={"category": "movies"})
|
||||||
|
|
||||||
````
|
```
|
||||||
|
|
||||||
```typescript TypeScript
|
```typescript TypeScript
|
||||||
import { Memory } from "mem0ai/oss";
|
import { Memory } from "mem0ai/oss";
|
||||||
@@ -62,7 +62,7 @@ const messages = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
await memory.add(messages, { userId: "alice", metadata: { category: "movies" } });
|
await memory.add(messages, { userId: "alice", metadata: { category: "movies" } });
|
||||||
````
|
```
|
||||||
|
|
||||||
</CodeGroup>
|
</CodeGroup>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user