move embedding provider to ai crate
This commit is contained in:
parent
48e151495f
commit
68c37ca2a4
11 changed files with 78 additions and 35 deletions
|
@ -1,5 +1,5 @@
|
|||
mod db;
|
||||
pub mod embedding;
|
||||
// pub mod embedding;
|
||||
mod embedding_queue;
|
||||
mod parsing;
|
||||
pub mod semantic_index_settings;
|
||||
|
@ -11,7 +11,7 @@ use crate::semantic_index_settings::SemanticIndexSettings;
|
|||
use anyhow::{anyhow, Result};
|
||||
use collections::{BTreeMap, HashMap, HashSet};
|
||||
use db::VectorDatabase;
|
||||
use embedding::{Embedding, EmbeddingProvider, OpenAIEmbeddings};
|
||||
use ai::embedding::{Embedding, EmbeddingProvider, OpenAIEmbeddings};
|
||||
use embedding_queue::{EmbeddingQueue, FileToEmbed};
|
||||
use futures::{future, FutureExt, StreamExt};
|
||||
use gpui::{AppContext, AsyncAppContext, Entity, ModelContext, ModelHandle, Task, WeakModelHandle};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue