spring-ai
spring-ai copied to clipboard
An Application Framework for AI Engineering
**Bug description** Getting Error while doing chatClient.stream(prompt). This only happens for chatClient.stream(prompt). My finding is it happens due to WebClient CURL and chatClient.call(prompt) work fine. Caused by: java.net.UnknownHostException: Failed to...
## Description I have been testing the functionality of the `PromptTemplate` class and noticed that it includes a getter and a setter for an `OutputParser` variable. However, upon reviewing the...
**Bug description** When there should be multiple function calls for a single question, only one call is made because AzureOpenAiChatClient doesn't copy tools value from first request to second request,...
Function calling - FunctionCallingOptions doesn't work with OpenAiChatClient/AzureOpenAiChatClient
**Bug description** Function calling doesn't happen when using FunctionCallingOptions with OpenAiChatClient/AzureOpenAiChatClient **Environment** spring-ai-core-1.0.0-20240420.063719-118.jar spring-ai-openai-1.0.0-20240420.063719-101.jar spring-ai-azure-openai-1.0.0-20240420.063719-112.jar **Steps to reproduce** ```kotlin // kotlin code val functionOptions = FunctionCallingOptions.builder() .withFunction("weatherFunction") .build() val response:...
Several of the AI model implementations add `/v1/` to the base url. For example the base url in `OpenAiConnectionProperties` is `https://api.openai.com`. The class `OpenAIApi` adds the path but hardcodes the...
- Adds spring boot auto-configuration support for GemFireVectorStore - Adds integration test GemFireVectorStoreAutoConfigurationIT - Includes gemfire-testcontainers in integration tests - Adds unit test GemFireVectorStorePropertiesTests - Refactors GemFireVectorStore.java extracting GemFireVectorStoreConfig.java -...
AWS Bedrock Cohere Command R release link: https://aws.amazon.com/about-aws/whats-new/2024/04/cohere-command-r-r-plus-amazon-bedrock/ Cohere Command R model request and response body format is different than Cohere, so I create a new `BedrockCohereCommandRChatClient` client. Here is...
springAiVersion: 0.8.1 This is an example I saw here, but based on my testing, it seems that the `gpt-4-vision-preview` model is not yet supported. [Spring AI - Multimodality - Orbis...
Squashed Commits from PR https://github.com/spring-projects/spring-ai/pull/508 - Add OpenSearchAiSearchFilterExpressionConverter - Add support for FilterExpression - Add support for OpenSearch vector store - Adding documentation under the [vectordbs](https://github.com/spring-projects/spring-ai/tree/main/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs) and add the references...
**Expected Behavior** For some customers we do not have necessity to pass the function-result to LLMs again. Eg: extract some information from a blob of text and save it in...