@mastra/rag 2.6.8-alpha.1 → 2.7.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/docs/SKILL.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -6594,7 +6594,13 @@ const vectorQuerySearch = async ({ indexName, vectorStore, queryText, model, que
|
|
|
6594
6594
|
});
|
|
6595
6595
|
let embeddingResult;
|
|
6596
6596
|
try {
|
|
6597
|
-
if (model.specificationVersion === "
|
|
6597
|
+
if (model.specificationVersion === "v4") embeddingResult = await (0, _mastra_core_vector.embedV4)({
|
|
6598
|
+
model,
|
|
6599
|
+
value: queryText,
|
|
6600
|
+
maxRetries,
|
|
6601
|
+
providerOptions
|
|
6602
|
+
});
|
|
6603
|
+
else if (model.specificationVersion === "v3") embeddingResult = await (0, _mastra_core_vector.embedV3)({
|
|
6598
6604
|
model,
|
|
6599
6605
|
value: queryText,
|
|
6600
6606
|
maxRetries,
|