mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-08 03:08:21 +00:00
i dont even know
This commit is contained in:
parent
20febf888b
commit
2819a958b0
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