pub async fn initialize_encoder(config: &EncoderConfig) -> Result<()>
Initialize the semantic encoder