Skip to content

Commit

Permalink
Revert "Adding signed byte support from cohere integration (#2398)"
Browse files Browse the repository at this point in the history
This reverts commit 203108f.
  • Loading branch information
l-trotta committed Feb 5, 2024
1 parent 203108f commit f0a0632
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 27 deletions.
31 changes: 8 additions & 23 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions specification/inference/_types/Results.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { float, byte } from '@_types/Numeric'
import { float } from '@_types/Numeric'
import { Dictionary } from '@spec_utils/Dictionary'

/**
Expand All @@ -28,9 +28,9 @@ export type SparseVector = Dictionary<string, float>

/**
* Text Embedding results are represented as Dense Vectors
* of floats or signed bytes.
* of floats.
*/
export type DenseVector = Array<float> | Array<byte>
export type DenseVector = Array<float>

export class SparseEmbeddingResult {
embedding: SparseVector
Expand Down

0 comments on commit f0a0632

Please sign in to comment.