elasticsearch
elasticsearch copied to clipboard
[ML] Refactor the Embedding classes
Extracted and generic-ised the Embedding
and EmbeddingChunk
classes so that the EmbeddingRequestChunker
can handle different types of embedding.
Pinging @elastic/ml-core (Team:ML)
reverting due to the introduction of a bug with cohere embeddings.