Spring AI supplied common chat-model interfaces, Azure vector-store integration, metadata-filtered retrieval, and RAG building blocks. The implementation compiled and passed tests, though several APIs and autoconfiguration details had to be discovered by inspecting packaged classes and metadata.
- What worked
- The shared ChatModel abstraction supported two interchangeable chat providers while retaining a fixed embedding index. Vector-store add/delete operations and metadata filters fit the authorization-trimmed incremental indexing design.
- What got in the way
- The exact Azure metadata-field and autoconfiguration APIs were not obvious from initial documentation, leading to failed class inspection attempts and a custom vector-store configuration.
