Commit Graph

138 Commits

Author SHA1 Message Date
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
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
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
Gerrit Meier
408337e327 Support filter expressions in Neo4j vector store.
- Move Neo4j filter converters from core to neoj4 vector store project.
 - Update neo4j adoc.

 Resolves #318
2024-02-14 09:23:44 +01:00
Christian Tzolov
f6447f420e Clean obsolate README files 2024-02-14 06:40:35 +01:00
Christian Tzolov
12d3ae40c4 Fix adcocs navigation 2024-02-14 06:25:35 +01:00
Christian Tzolov
cb12512775 Add spring AI Bom and related docs 2024-02-13 13:38:24 +01:00
Christian Tzolov
0334e6d428 Improve vectordbs documentation 2024-02-13 11:13:40 +01:00
Christian Tzolov
8f4d840761 minor docs improvments 2024-02-13 09:51:01 +01:00
Christian Tzolov
bff3e589d0 Fix documentation navigation issue with Bedrock submenu 2024-02-12 18:24:56 +01:00
Christian Tzolov
8210fb165b fix broken antora docs 2024-02-12 16:28:47 +01:00
Mark Heckler
f56626456e Fixes implemented per request by @tzolov 2024-02-12 15:57:51 +01:00
Mark Heckler
d8b6a276ff Additional link/content cleanup 2024-02-12 15:57:51 +01:00
Mark Heckler
214858bec5 Updated several vector db docs to fix errors and to expand on instructions, making it easier to follow and complete successfully: Azure AI Search, Neo4j, and Postgres/PGvector 2024-02-12 15:57:51 +01:00
Mark Heckler
dc86957a07 Documentation fixes, clean and polish 2024-02-12 15:57:51 +01:00
Christian Tzolov
330f8b37df Minor docs links fix 2024-02-12 10:16:00 +01:00
Christian Tzolov
ecc81b5e49 Fix docs broken links 2024-02-12 08:04:17 +01:00
Christian Tzolov
ffd8222c20 OpenAI ChatClient tools support
* Add function call OpenAiApi IT tests
* Add function call docs. Unit and IT func tests
* Add function call diagram
* Allow to opt-in/enable the fuctions to be used in request.
2024-02-11 23:34:04 -05:00
Christian Tzolov
dc04327dcf Add Geneic Model API diagram to the docs 2024-02-11 19:04:33 +01:00
Christian Tzolov
21d7cdd5c0 Add VertexAi Embeddings Docs + clear READMEs 2024-02-11 18:32:55 +01:00
Christian Tzolov
7ea867d3cb Add VertexAi Chat Optios Support + Docs 2024-02-11 18:00:15 +01:00
Christian Tzolov
d38afc50a3 Document Bedrock Titan Embedding API and clients
- Remove outdated Bedrock README fiels and add references to the main docs.
2024-02-11 16:16:22 +01:00
Christian Tzolov
ed52a3e0a1 Add Bedrock Titan Chat Options + Docs 2024-02-11 15:32:33 +01:00
Christian Tzolov
4839a6175c Minor Embeddings API landing page improvements 2024-02-11 12:57:29 +01:00
Christian Tzolov
35ce0d1a4b Add Bedrock Cohere Embedding Options support
- Realign the Embeddings API docs strcture
2024-02-11 12:25:26 +01:00
Christian Tzolov
056b95a00e Improve Chat Completon API documentation
- minor code style improvements.
2024-02-10 18:17:06 +01:00
Christian Tzolov
7fca784b05 Add Bedrock Anthropic Chat Options support
- Improve Anthropic tests
 - Add anthrpic docs
 - Restructure the docs for Azure OpenAI, OpenAI, Ollama, Bedrock Cohere and Bedrock Lllam2
2024-02-10 12:22:34 +01:00
Christian Tzolov
4ba9a3cd68 broken antora links 2024-02-09 19:21:26 +01:00
Christian Tzolov
c5f80f4930 Minor documentation updates 2024-02-09 19:06:38 +01:00
Christian Tzolov
6d13da1ba6 Update ollama chat/embedding documentations 2024-02-09 17:05:19 +01:00
Christian Tzolov
683a1b9a88 Clarify bedrock anthropic and llama2 docs 2024-02-09 16:56:32 +01:00
Christian Tzolov
ced9e6a82d Fix and optimize azure openai chat/embedding clients
- Also restructore and clarify the chat/embedding docs.
2024-02-09 16:45:42 +01:00
Christian Tzolov
ca0f6d79e3 OpenAi Chat/Embedding options handling optimizations
- Also restructure and clean the openai chat/embedding docs.

Address review comments
2024-02-09 15:53:27 +01:00