spring-ai
spring-ai copied to clipboard
An Application Framework for AI Engineering
org.springframework.ai spring-ai-starter-vector-store-elasticsearch co.elastic.clients elasticsearch-java co.elastic.clients elasticsearch-java 9.0.2
## Summary This PR adds chunk overlap functionality to the `TokenTextSplitter` class to improve text chunking for better context preservation in document processing. Closes #2123 ## Changes * **TokenTextSplitter class...
Hi Spring AI team, First of all, thanks for the amazing work you’ve done on Spring AI so far. While integrating with OpenAI I noticed that Spring AI currently doesn't...
While making the LLM call from spring ai, with full prompt(system and user prompt) passed via .user(fullPrompt) facing issue like, INVALID_ARGUMENT: Unable to submit request because it must include at...
# GH-4602: Add ability to customize WebClient per connection name + Restore ChatMemoryRepository AutoConfiguration classes ## 🧩 Summary This PR introduces two main changes: 1. WebClientFactory abstraction to allow per-connection...
Fixed Spring AOT support and regression issue introduced in GH-4751 PR https://github.com/spring-projects/spring-ai/pull/4751/ introduced a new error when using Spring AOT: ``` Exception in thread "main" org.springframework.beans.factory.aot.AotBeanProcessingException: Error processing bean with...
**Expected Behavior** The docs https://docs.spring.io/spring-ai/reference/api/tools.html#_json_schema here state that adding json properties annotations from Jackson only work for input parameters. This is also reflected in `ToolDefinition`. Would be great if `ToolDefinition`...
**Expected Behavior** When a method tool (annotated via `@Tool`) returns an object it's serialized with `DefaultToolCallResultConverter`. This however uses `JsonParser` which has a hardcoded `ObjectMapper` in it. Would have expected...
Fixes #4720
JsonParser is using a self instantiated ObjectMapper, allow usage of a custom ObjectMapper instance
**Bug description** When calling a tool, is invoked the JsonParser.OBJECT_MAPPER to extract tool arguments. But when the json has '\n' characters the follow exception is thrown ` com.fasterxml.jackson.core.JsonParseException: Illegal unquoted...