@lancedb/lancedb 0.15.0 → 0.15.1-beta.3
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/README.md +1 -1
- package/dist/arrow.d.ts +29 -30
- package/dist/arrow.js +40 -45
- package/dist/connection.d.ts +3 -0
- package/dist/connection.js +32 -16
- package/dist/embedding/embedding_function.d.ts +3 -3
- package/dist/embedding/embedding_function.js +5 -16
- package/dist/embedding/index.d.ts +1 -1
- package/dist/embedding/index.js +2 -13
- package/dist/embedding/openai.js +2 -13
- package/dist/embedding/registry.d.ts +2 -5
- package/dist/embedding/registry.js +2 -15
- package/dist/embedding/transformers.js +2 -13
- package/dist/index.d.ts +11 -7
- package/dist/index.js +11 -22
- package/dist/indices.d.ts +0 -2
- package/dist/indices.js +2 -15
- package/dist/merge.d.ts +2 -2
- package/dist/merge.js +17 -5
- package/dist/native.d.ts +1 -11
- package/dist/native.js +1 -2
- package/dist/query.d.ts +37 -4
- package/dist/query.js +39 -17
- package/dist/rerankers/rrf.d.ts +2 -1
- package/dist/rerankers/rrf.js +2 -1
- package/dist/sanitize.js +2 -13
- package/dist/table.d.ts +24 -8
- package/dist/table.js +13 -40
- package/dist/util.js +2 -0
- package/license_header.txt +2 -0
- package/package.json +10 -10
- package/typedoc_post_process.js +22 -17
package/typedoc_post_process.js
CHANGED
|
@@ -40,23 +40,28 @@ function processDirectory(directoryPath) {
|
|
|
40
40
|
function processContents(contents) {
|
|
41
41
|
// This changes the parameters section to put the parameter description on
|
|
42
42
|
// the same line as the bullet with the parameter name and type.
|
|
43
|
-
return
|
|
44
|
-
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
43
|
+
return (
|
|
44
|
+
contents
|
|
45
|
+
.replace(/(## Parameters[\s\S]*?)(?=##|$)/g, (match) => {
|
|
46
|
+
let lines = match
|
|
47
|
+
.split("\n")
|
|
48
|
+
.map((line) => line.trim())
|
|
49
|
+
|
|
50
|
+
.filter((line) => line !== "")
|
|
51
|
+
.map((line) => {
|
|
52
|
+
if (line.startsWith("##")) {
|
|
53
|
+
return line;
|
|
54
|
+
} else if (line.startsWith("•")) {
|
|
55
|
+
return "\n*" + line.substring(1);
|
|
56
|
+
} else {
|
|
57
|
+
return " " + line;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
return lines.join("\n") + "\n\n";
|
|
61
|
+
})
|
|
62
|
+
// Also trim trailing whitespace
|
|
63
|
+
.replace(/([^ \t])[ \t]+\n/g, "$1\n")
|
|
64
|
+
);
|
|
60
65
|
}
|
|
61
66
|
|
|
62
67
|
// Start processing from the root directory
|