mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
feat(server): update gql endpoint & workspace doc match test (#11104)
This commit is contained in:
@@ -30,7 +30,7 @@ export class MockEmbeddingClient extends EmbeddingClient {
|
||||
return input.map((_, i) => ({
|
||||
index: i,
|
||||
content: input[i],
|
||||
embedding: Array.from({ length: 512 }, () => Math.random()),
|
||||
embedding: Array.from({ length: 1024 }, () => Math.random()),
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user