added sha1 encoding for each document
This commit is contained in:
parent
bbe6d3b261
commit
3d89cd10a4
6 changed files with 245 additions and 207 deletions
|
@ -39,7 +39,7 @@ struct OpenAIEmbeddingResponse {
|
|||
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct OpenAIEmbedding {
|
||||
embedding: Vec<f32>,
|
||||
embedding: Vec<f16>,
|
||||
index: usize,
|
||||
object: String,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue