move embedding provider to ai crate

This commit is contained in:
KCaverly 2023-09-22 09:33:59 -04:00
parent 48e151495f
commit 68c37ca2a4
11 changed files with 78 additions and 35 deletions

View file

@ -1,8 +1,8 @@
use crate::{
embedding::Embedding,
parsing::{Span, SpanDigest},
SEMANTIC_INDEX_VERSION,
};
use ai::embedding::Embedding;
use anyhow::{anyhow, Context, Result};
use collections::HashMap;
use futures::channel::oneshot;