pub fn local_embeddings_url(input: &str) -> String
Resolve the embeddings endpoint from any accepted base form.