spring-ai
spring-ai copied to clipboard
An Application Framework for AI Engineering
This is the purpose of the PR : In the class PgVectorStore line 239 uses embeddingClient to embed documents. On the other hand, we have a setEmbedding method in the...
Hi, I am wondering why the class [Embedding](https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/embedding/Embedding.java) internally stored the vector as `List`. I think `double[]` or `float[]` would be more memory efficient.
Passing into an options builder an existing set of options to start from seems like a good pattern. If so, ensure it is followed across all builder apis.
right now they aren't. For example, `options.getFunctions().add()` will let you modify the created `FunctionCallingOptions` from the builder. This should be considered across all builder implementations.
After running this sample application ([ai-openai-rag](https://github.com/rd-1-2022/ai-openai-rag)) I noticed that there are 12 entries in the vector_store table, but the page_number field (in the metadata column) for all the entries is...
We've used methods throughout the code to give it meaning. The old code was very hard to read because you had to read so many implementations. You can definitely see...
**Expected Behavior** Spring properties are exposed to control timeouts used by the clients. **Current Behavior** There's no documentation or properties to control things like connect, read, and write timeouts. **Context**...
**Expected Behavior** Implement Agent like in Langchain with different method, such as CoT,ReACT
Because fully qualified names were not used and only class names were used, some links in Javadoc became invalid  This will lead to errors in generating Javadoc pages in...
**Bug description** ``` was aborted: ERROR: expected 1536 dimensions, not 4096 Call getNextException to see other errors in the batch. at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:165) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2413) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:579) at org.postgresql.jdbc.PgStatement.internalExecuteBatch(PgStatement.java:912) at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:936)...