Skip to content

Commit 13b9e8e

Browse files
committed
Results are floats not doubles
1 parent 7662c98 commit 13b9e8e

File tree

4 files changed

+11
-137
lines changed

4 files changed

+11
-137
lines changed

output/schema/schema.json

Lines changed: 2 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 4 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/inference/_types/Results.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@
1717
* under the License.
1818
*/
1919

20-
import { double } from '@_types/Numeric'
20+
import { float } from '@_types/Numeric'
2121
import { Dictionary } from '@spec_utils/Dictionary'
2222

2323
/**
2424
* Sparse Embedding tokens are represented as a dictionary
2525
* of string to double.
2626
*/
2727

28-
export type SparseVector = Dictionary<string, double>
28+
export type SparseVector = Dictionary<string, float>
2929

3030
/**
3131
* Text Embedding results are represented as Dense Vectors
3232
* of doubles.
3333
*/
34-
export type DenseVector = Array<double>
34+
export type DenseVector = Array<float>
3535

3636
/**
3737
* Inference result is the union of all the result types

0 commit comments

Comments
 (0)