Commit Graph

1453 Commits

Author SHA1 Message Date
Mark Pollack
8532cb7bcc Bump to 0.8.1-SNAPSHOT 2024-02-23 11:11:14 -05:00
Mark Pollack
64b8e7c805 doc polish before relase 2024-02-23 10:38:37 -05:00
Christian Tzolov
d7fb424c47 Fix repeating words in docs 2024-02-23 15:51:18 +01:00
Christian Tzolov
4ba6adfe8e Remove the explict spring-ai depenency versions from doc's snippets 2024-02-23 15:43:42 +01:00
Christian Tzolov
56c6abfc9c Update 3rd party POM dependecies and resolve related issues 2024-02-23 12:43:30 +01:00
Christian Tzolov
b2d04a6e1e Add function-calling as a concept to the docs 2024-02-23 08:56:12 +01:00
Mark Pollack
c8dea142b5 Add contribution documention
Fixes #296
2024-02-22 22:36:46 -05:00
Mark Pollack
d9c2f4dae7 Add documentation for generic model api
Fixes #267
2024-02-22 22:11:03 -05:00
Mark Pollack
6bcd719761 Update Azure OpenAI documentation and configurations
* Added instructions on how to set up and use the 'Deployment Name' for Azure AI applications in the documentation.

* Corrected the default chat model from 'gpt-3.5-turbo' to 'gpt-35-turbo' for alignment with Azure's naming conventions.
2024-02-22 21:25:42 -05:00
Mark Pollack
b0019f403e fix test that depends on content in our docs :( 2024-02-22 20:19:35 -05:00
Mark Pollack
bc5c4e2c4f add jdbc starter to pgvector starter 2024-02-22 15:48:58 -05:00
Mark Pollack
a166a3a3d9 doc updates 2024-02-22 13:33:50 -05:00
Christian Tzolov
272ed099ed Fix Azure option merging bug 2024-02-22 18:33:21 +01:00
Christian Tzolov
d8fc01f27a Update overview.html
Fix the reference link in javadocs overview.html
2024-02-22 18:31:19 +01:00
Christian Tzolov
a78dad5e99 Update index.adoc
Fix the Javadoc url
2024-02-22 18:29:30 +01:00
Christian Tzolov
134b87cb4b fix CI/CD deploy docs work dir 2024-02-22 18:02:47 +01:00
Christian Tzolov
631521c8dd Attempt to fix javadocs CI generation 2024-02-22 17:46:06 +01:00
Mark Pollack
caef260fd7 Update Azure AI Search link in docs 2024-02-21 14:08:16 -05:00
Mark Pollack
14e4a6cccf StabilityAI Autoconfiguration improvements
* Add IT Test
* Add starter to Spring AI bom
2024-02-21 13:47:11 -05:00
Kirk Lund
1c222a695c Normalize Line Endings to LF in BeanOutputParser
This change addresses and fixes BeanOutputParserTest failures observed
on the Windows platform by ensuring consistent line ending normalization
across different operating systems.

Fixes #279
2024-02-21 12:35:37 -05:00
Mark Pollack
9165aa9fec tidy up the spring cli section in getting started docs 2024-02-21 10:17:41 -05:00
SASIKUMAR SENTHILNATHAN
eecbef30fa Changing String package from java.util.String to java.lang.String (#340)
Changing String package from `java.util.String` to `java.lang.String`
2024-02-20 14:55:41 -05:00
Mark Pollack
4854b0066f Add @ConditionalOnClass(StabilityAiApi.class) to StabilityAiImageAutoConfiguration 2024-02-20 14:35:15 -05:00
Mark Pollack
596f2b06c0 Move native hints into individual modules
* Use aot.factories approach for registration
* Add tests
* final tweaks- Thanks Josh!
2024-02-20 14:23:40 -05:00
Mark Pollack
ea7dce3833 Refine Bedrock README. Fixes #180 2024-02-19 12:36:03 -05:00
Mark Pollack
a107e313fc Fixes #219 - Remove dependency cycles 2024-02-19 12:24:16 -05:00
Mark Pollack
60f9446562 Add additional pointers to help setup dependencies in each ChatClient and EmbeddingClient docs 2024-02-19 11:12:04 -05:00
Mark Pollack
d28450a3a3 clean up README.md and improve getting-started.adoc 2024-02-16 16:53:17 -05:00
Christian Tzolov
0f0898ddef Update srping-ai funciton call diagram 2024-02-16 12:06:02 +01:00
Christian Tzolov
25e6569bb7 another minor doc code snippet fix 2024-02-16 11:46:00 +01:00
Christian Tzolov
8a16fce26e minor doc improvements 2024-02-16 11:39:15 +01:00
Mark Heckler
d9d6011eaf Added client-level appId 2024-02-16 11:24:39 +01:00
Abdoulaye Ndiaye
4e0434b337 Update openai-embeddings.adoc
Fixed small error in OpenAiChatOptions implementation documentation
2024-02-16 11:22:29 +01:00
Christian Tzolov
fdd3fbb2f9 Revert default OpenAI embedding to text-embedding-ada-002 as some vector stores have problems with 3-small 2024-02-16 11:19:34 +01:00
Christian Tzolov
5391505098 Update openai docs, function call diagrams 2024-02-16 10:48:48 +01:00
Christian Tzolov
697e945950 Fix EmbeddingIT after default openai embedding model switch 2024-02-16 10:40:13 +01:00
Christian Tzolov
0458f7c525 Minor Doc improvments 2024-02-16 10:36:46 +01:00
Christian Tzolov
7ef49b8cef Set the default OpenAI Embedding model to text-embedding-3-small
The text-embedding-3-small has the same dimensions as previous text-embedding-ada-002.
  The text-embedding-3-large has higher dimensionality not supported by some Vector Stores.
2024-02-16 10:27:13 +01:00
Gerrit Meier
e62543c761 Use the new vector index creation syntax for Neo4j.
To make the Neo4j module more future-proof, this commit
replaces the old vector index creation syntax with the new style.
Also, the new pattern is in line with the standard Neo4j index creation
and supports the _IF NOT EXISTS_ clause to run idempotent.
This allows us to remove the preceding call to check if the index exists.

As a consequent, the module will require Neo4j to be at least on version 5.15.
2024-02-16 09:40:36 +01:00
Christian Tzolov
05ce9ff398 Simplify Function Calling API
POJOs FTW!
2024-02-15 23:42:58 -05:00
Christian Tzolov
bd479e1388 Address review comments 2024-02-15 22:38:50 +01:00
Christian Tzolov
d580fe2757 Simplify Function Calling API 2024-02-15 20:26:31 +01:00
Gerrit Meier
10438c55a3 Remove Neo4j driver auto-config from the module.
- Neo4j vector store documentation update.
2024-02-15 13:02:51 +01:00
Christian Tzolov
1fa2036120 Refactor the Function Calling Support
- Remove the SpringAiFunction annotation in favour of palin Functino Beans, @Description annotation and JacksonClassAnnotation.
 - Update the function calling documentation to reflect latest changes.
 - Add a new openai option (and related property): spring.ai.openai.chat.options.beanFunctions.<function-name>.<description>
   Map of bean names and their descriptions to register as function callbacks.
 - Refactor the OpenAiAutoConfiguration to resolve and register the beans in beanFunctions.
 - Add dependency on Spring Cloud Function to use the FunctionContextUtils and FunctionTypeUtils
   Those utilites help to resolve the function input type signature.
 - Add DefaultToolFunctionCallback class for manually wrapping Functions.
 - Update the ITs.
2024-02-15 12:39:35 +01:00
Mark Pollack
43dbaf4edd Add documentation for Image Generation
- Refine StabilityAI classes
- Add documentation
2024-02-14 17:18:04 -05:00
Adam Bchouti
36278afdb3 Add Pinecone namespace support for add, search and delete operations 2024-02-14 14:55:21 +01:00
Adam Bchouti
41885a8e62 Enable updating the pinecone vector store namespace 2024-02-14 14:41:09 +01:00
Christian Tzolov
806f5c4b20 Resolve javadoc issues 2024-02-14 13:24:53 +01:00
Christian Tzolov
6a72956c52 fix javadoc formatting 2024-02-14 13:20:26 +01:00
Chris Smith
b2a4f01761 Add Spring Annotation for registerding Function Calling tools.
- Built on top of the existing ToolFunctionCallback utilites.
 - Organized as part of auto-configuration project under the /common/function
   package to be reusable for different model implementations.
 - Add OpenAI support for the SpringAiFunction annotation.
 - Update the OpenAI function calling documentation.
 - Add ITs

Co-Authored-By: Christian Tzolov <ctzolov@vmware.com>
2024-02-14 13:15:04 +01:00