• Refactor the EmbeddingResponse and Embedding from “class” into “record” types. Fix the affected code get calls.
  • Refactor the TransformersEmbeddingClient to avoid telescopic public methods call anti-patter.
  • Add spring-retry dependency to spring-ai-core.
  • Implement RetryAiClient, RetryEmbeddingClient and RetryVectorStore as decorators around AiClient, EmbeddingClient and VectorStore instance. The retry decorators use RetryTemplate to wrap all delegate methods calls. Default RetryTemplate is provided with each instance.
  • Add Tests for all Retry decorators.
  • Add missing javadocs to existing core classes.

Resolves #123

Comment From: tzolov

Replaced by 1e3eaec7b9d853e399cb370dfd63e05ccee193ca