WIP: Got the streaming matrix multiplication working, and started work on file hashing.
Co-authored-by: maxbrunsfeld <max@zed.dev>
This commit is contained in:
parent
74b693d6b9
commit
953e928bdb
7 changed files with 396 additions and 97 deletions
|
@ -44,7 +44,7 @@ struct OpenAIEmbeddingUsage {
|
|||
}
|
||||
|
||||
#[async_trait]
|
||||
pub trait EmbeddingProvider: Sync {
|
||||
pub trait EmbeddingProvider: Sync + Send {
|
||||
async fn embed_batch(&self, spans: Vec<&str>) -> Result<Vec<Vec<f32>>>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue