mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 17:38:23 +00:00
refactor(ai): pass outputDimensionality 1536 to gemini-embedding-2
This commit is contained in:
@@ -47,6 +47,9 @@ async function generateMultimodalEmbedding(
|
||||
},
|
||||
},
|
||||
],
|
||||
config: {
|
||||
outputDimensionality: 1536,
|
||||
},
|
||||
})
|
||||
|
||||
const values = response.embeddings?.[0]?.values
|
||||
|
||||
Reference in New Issue
Block a user