spring-ai
spring-ai copied to clipboard
An Application Framework for AI Engineering
@tzolov Update autoconfiguration, meets the requirements of three connection methods: security key, profile, and IAM Role `DefaultCredentialsProvider.create()` was deprecated, replace with `DefaultCredentialsProvider.builder().build()` **example configuration** ```yaml spring: ai: bedrock: aws: profile:...
The "initilize-schema" setting for the vector store instructs the spring ai to initialize the required schema for the application. [For the PGVector it is not an exception](https://docs.spring.io/spring-ai/reference/api/vectordbs/pgvector.html#_auto_configuration). The problem however...
1. Remove `embeddingsPath` setting from `OpenAiChatAutoConfiguration` since it is not used by chat model. 2. Remove `completionsPath` setting from `OpenAiEmbeddingAutoConfiguration` since it is not used by embedding model. 3. Reorder...
Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested. **Expected Behavior** When using multiple tools, the model can...
Close #4845 Fixed 404 error handling for three methods: - getTenant(String tenantName) - Fixed handling when tenant does not exist - getDatabase(String tenantName, String databaseName) - Fixed handling when database...
### Description When trying to configure the think-option for Ollama in application.properties, Spring Boot fails to bind the property value to the `ThinkOption` interface. Here is the relevant configuration: ```...
Fixes #4790 ## Problem When using OpenAI-compatible APIs like Qwen with streaming tool calls, subsequent chunks may not include the tool call ID. The current `MessageAggregator` uses `addAll()`which creates separate,...
Close #4743 ## Extend `ToolDefinition` to Support Metadata ### Create a `ToolDefinitionWithMetadata` Class ```java package org.springframework.ai.tool.definition; import java.util.Map; import org.springframework.util.Assert; /** * Tool definition with metadata support. */ public record...
**Expected Behavior** The Spring AI **OpenAiAudioSpeechModel** should allow callers to provide an optional instructions string that is forwarded to OpenAI’s POST /v1/audio/speech request body only for models that support it...
**Problem:** Method `ChromaApi#getCollection` throws a `RuntimeException` with the message : "Collection [%s] does not exist" (note the correct spelling of "exist"). [This seems to be not what the framework expects](https://github.com/spring-projects/spring-ai/blob/main/vector-stores/spring-ai-chroma-store/src/main/java/org/springframework/ai/chroma/vectorstore/ChromaApi.java#L219)...