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

As per https://ai.google.dev/palm_docs/deprecation , the "classic" Palm model support has been removed. The Palm2 modules should be removed. ``` As of August 15, 2024, the PaLM API is decommissioned, meaning...

Follow-up from #631 **Bug description** When passing a `Map` into a `PromptTemplate` as a `param` to iterate over, validation fails due to an erroneously detected missing input variable. The same...

[JSON](https://docs.spring.io/spring-ai/reference/api/etl-pipeline.html#_json) [Text](https://docs.spring.io/spring-ai/reference/api/etl-pipeline.html#_text) [Markdown](https://docs.spring.io/spring-ai/reference/api/etl-pipeline.html#_markdown) [PDF Page](https://docs.spring.io/spring-ai/reference/api/etl-pipeline.html#_pdf_page) [PDF Paragraph](https://docs.spring.io/spring-ai/reference/api/etl-pipeline.html#_pdf_paragraph) [Tika (DOCX, PPTX, HTML…​)](https://docs.spring.io/spring-ai/reference/api/etl-pipeline.html#_tika_docx_pptx_html) Can ETL Pipeline support more ways to read the file content, such as byte [], http url, or the...

[[问题描述 简要描述您碰到的问题。 class com.alibaba.fastjson2.JSONObject cannot be cast to class org.springframework.ai.openai.api.OpenAiApi$Embedding (com.alibaba.fastjson2.JSONObject and org.springframework.ai.openai.api.OpenAiApi$Embedding are in unnamed module of loader 'app') 环境信息 请填写以下信息: OS信息: [e.g.:macos M1 max] JDK信息: [e.g.:Openjdk 21] 版本信息:[e.g.:Fastjson2...

**Bug description** I am getting 0s for (promptTokens, completionTokens, and totalTokens) when trying to get the token consumption for a particular query. This is happening in a simple RAG application...

**Bug description** timeout when calling OpenAI/MoonShot API org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://api.moonshot.cn/v1/chat/completions": timeout at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.createResourceAccessException(DefaultRestClient.java:578) at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.exchangeInternal(DefaultRestClient.java:501) at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.retrieve(DefaultRestClient.java:463) at org.springframework.ai.moonshot.api.MoonshotApi.chatCompletionEntity(MoonshotApi.java:584) at org.springframework.ai.moonshot.MoonshotChatModel.lambda$call$0(MoonshotChatModel.java:140) at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:344) at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:217)...

review the function calling 'epic' in #1350 (where there is finer grained grouping of feature request for function calling features) and see what can be done for the M3 timeframe.

function calling

**Bug description** Consider the attributes that can be set through `AzureOpenAiChatOptions`: - maxTokens - temperature - topP - logitBias - user - n - stop - presencePenalty - frequencyPenalty -...

model client
azure
chat options

**Bug description** The QuestionAnswerAdvisor only [uses the `userText` attribute of an AdvisedRequest for the similarity search](https://github.com/spring-projects/spring-ai/blob/10e1e13fa204b2f634ee874fcee2360f94f18185/spring-ai-core/src/main/java/org/springframework/ai/chat/client/advisor/QuestionAnswerAdvisor.java#L104). Therefore, the similarity search for this snippet works as expected: ``` var advise =...

bug
advisors

I got this issue: https://github.com/Azure/azure-sdk-for-java/issues/41164 while using chat completion with stream=true on Azure OpenAI. Do you have any workarounds? Thank you!

azure
chat client
streaming