spring-ai
spring-ai copied to clipboard
An Application Framework for AI Engineering
Currently we have the structure ``` org.sf.ai.chat org.sf.ai.prompt org.sf.ai.prompt.messages ``` This doesn't feel right for several reasons. First is that `message` package should not be under `prompt` as it is...
Currently the `Document` if not provided with an explicit `ID`, generates a random UUID for every document. Even if the document content/metadata haven't changed a new ID is generated every...
There is an analogy to make between GenerationTemplate and JdbcTemplate that will help simplify the use of the lower level classes such as AiClient, Prompts, and OutputParsers. Note: AiClient should...
The Getting Started heading has a typo in [Azure OpenAI](https://docs.spring.io/spring-ai/reference/api/clients/azure-openai.html) section of the docs.
Closes https://github.com/spring-projects/spring-ai/issues/236
I found that when using the project, the `MessageType` is still `USER` instead of the expected `ASSISTANT` when using `AssistantPromptTemplate`. I'm not sure if this issue is an oversight, a...
See #212 for details
The prefix for these properties should be `spring.ai.openai.chat`, currently it is `spring.ai.openai` `OpenAIProperties` has options only for `temperature` and is missing options * frequency_penalty * logit_bias * logprobs * top_logprobs...
Spring AI is built on top of Spring Boot 3.1, which offers `ConnectionDetails` and `ServiceConnection` support for Docker Compose and Testcontainers to improve DevEx **Expected Behavior** Support in Testcontainers can...
I was thinking it might be useful (or at least interesting) if Spring AI public metrics regarding token usage via the Actuator metrics endpoint. This information comes from the `ChatResponse`...