@mastra/rag 2.7.2-alpha.0 → 2.7.3-alpha.0
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 +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +88 -2
- package/dist/docs/references/reference-tools-vector-query-tool.md +3 -3
- package/dist/document/transformers/character.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -4006,7 +4006,7 @@ var TextTransformer = class {
|
|
|
4006
4006
|
};
|
|
4007
4007
|
// src/document/transformers/character.ts
|
|
4008
4008
|
function splitTextWithRegex(text, separator, separatorPosition) {
|
|
4009
|
-
if (!separator) return
|
|
4009
|
+
if (!separator) return Array.from(text);
|
|
4010
4010
|
if (!text) return [];
|
|
4011
4011
|
const result = [];
|
|
4012
4012
|
let lastIndex = 0;
|