pub fn compact_against_knowledge( index: &mut KnowledgeEmbeddingIndex, knowledge: &ProjectKnowledge, )