-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
909 additions
and
983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
|
||
/** | ||
* Inference code generated from the JSON schema spec in ./spec | ||
* | ||
* | ||
* Using src/scripts/inference-codegen | ||
*/ | ||
|
||
|
||
export type FeatureExtractionOutput = unknown[]; | ||
|
||
/** | ||
* Inputs for Text Embedding inference | ||
*/ | ||
export interface FeatureExtractionInput { | ||
/** | ||
* The text to get the embeddings of | ||
*/ | ||
data: string; | ||
/** | ||
* Additional inference parameters | ||
*/ | ||
parameters?: { [key: string]: unknown }; | ||
[property: string]: unknown; | ||
/** | ||
* The text to get the embeddings of | ||
*/ | ||
data: string; | ||
/** | ||
* Additional inference parameters | ||
*/ | ||
parameters?: { [key: string]: unknown }; | ||
[property: string]: unknown; | ||
} |
Oops, something went wrong.