Result<Embedding>
embed(DocumentSegment documentSegment)
embed(String text)
Result<List<Embedding>>
embedAll(List<DocumentSegment> documentSegments)