spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

An Application Framework for AI Engineering

Results 659 spring-ai issues
Sort by recently updated
recently updated
newest added
trafficstars

Single commit for MongoDB document changes Thank you for taking time to contribute this pull request! You might have already read the [contributor guide][1], but as a reminder, please make...

Hi, this PR is add Wenxin model client and has passed unit testing. I can provide my api_key if needed for testing the PR content: chat client embedding client spring...

model client

There are a number of use cases where you'd want LLM tools calls to NOT be executed locally but instead returned to the client to trigger a client-side action. For...

enhancement
function calling

- Adjust all affected classes including the Document. - Update docs. Related to #405

With `aws.sdk.kotlin:bedrockruntime` I can setup the client like this: ```kts val client = BedrockRuntimeClient { region = "eu-central-1" credentialsProvider = ProfileCredentialsProvider(profileName = "dev") } ``` where `profileName` delegates to one...

I'd like to use Spring AI for self-querying, the same way it's implemented in Langchain https://python.langchain.com/v0.1/docs/modules/data_connection/retrievers/self_query/#creating-our-self-querying-retriever In the mean time it would be nice to know if there is a...

RAG

If the message type used is UserMessage, it will not be built correctly ``` List chatCompletionMessages = prompt.getInstructions().stream().map(m -> { // Add text content. List contents = new ArrayList(List.of(new MediaContent(m.getContent())));...

ZhiPu

Can we implement some guardrails features in built in Spring AI so we no need to fine tune the prompt: Gurard rails features: - Should not be baiosed when ansering...

enhancement

Since `documents` is the list containing `Document`objects `document` variable should be `documents` `vectorStore.add(List.of(document));` -> `vectorStore.add(documents);`

Corrected the variable passed to vectorStore.add() from List.of(document) to documents. ### Original Code: ```java List documents = List.of( new Document("Spring AI rocks!! Spring AI rocks!! Spring AI rocks!! Spring AI...