mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-07 02:58:11 +00:00
Merge branch 'new-ui' of https://github.com/Dhravya/supermemory into new-ui
This commit is contained in:
commit
b2381a2efb
1 changed files with 2 additions and 6 deletions
|
|
@ -21,15 +21,11 @@ export async function GET(request: Request, _: CloudflareVectorizeStore, embeddi
|
|||
}
|
||||
|
||||
const filter: VectorizeVectorMetadataFilter = {
|
||||
user: {
|
||||
$eq: user
|
||||
}
|
||||
user
|
||||
}
|
||||
|
||||
if (space) {
|
||||
filter.space = {
|
||||
$eq: space
|
||||
}
|
||||
filter.space
|
||||
}
|
||||
|
||||
const queryAsVector = await embeddings.embedQuery(query);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue