mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
fix: add missing install packages for AI chat example in Convex docs
This commit is contained in:
parent
393aef1b2e
commit
9fd9c4cec4
1 changed files with 6 additions and 0 deletions
|
|
@ -84,6 +84,12 @@ export const searchMemories = action({
|
|||
|
||||
A chat endpoint using the Supermemory AI SDK middleware. It automatically injects context and saves memories.
|
||||
|
||||
Install the additional packages needed for this example:
|
||||
|
||||
```bash
|
||||
npm install ai @ai-sdk/openai @supermemory/tools
|
||||
```
|
||||
|
||||
```typescript
|
||||
// convex/chat.ts
|
||||
import { action } from "./_generated/server";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue