spring-ai
spring-ai copied to clipboard
An Application Framework for AI Engineering
* Add semantic caching for chat responses: - SemanticCache interface and Redis implementation using vector similarity - SemanticCacheAdvisor for intercepting and caching chat responses - Uses vector search to cache...
Was going through the notes and noticed this.
See most notable changes here - https://tika.apache.org/3.1.0/index.html
- Prevent projects depending on `mcp-server-webmvc` or `mcp-server-webflux` from exceptions when `spring.ai.mcp.server.enabled` is set to `false`. - Add unit tests to verify. When the project depends on the `spring-ai-starter-mcp-server-webmvc` package...
I started having `null` word in LLM prompts while using PromptChatMemoryAdvisor. Since `systemText` is `@Nullable`, as a fix I added check for it. 
### Advisor API The Advisor API went through some changes over time. Initially, there was a concept of "advisor type", with separate interfaces for "before", "after", and "around" advisors. Currently,...
Fixes: #2518 Issue: https://github.com/spring-projects/spring-ai/issues/2518 This commit removes the deprecated requestOptions field from ChatModelObservationContext and EmbeddingModelObservationContext classes. Instead of passing options separately, the code now retrieves them directly from the request...
Fixes issue #2815 This PR solves problem with message ordering: CassandraChatMemory fetches rows in DESC order (by message_timestamp), and MessageChatMemoryAdvisor get and add all messages in that order - from...
Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create. If the bug is trivial, just...
I don't see any document references to it and there are no tests so I'm not 100% but looking at LastMaxTokenSizeContentPurger it appears to return all content that will not...