From 5dfdd8ddcd937d2a209899d334cc4a36d7c06a31 Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Thu, 17 Oct 2024 21:45:07 +0200 Subject: [PATCH] Doc: improve table formating --- .../modules/ROOT/pages/api/chat/azure-openai-chat.adoc | 6 +++--- .../antora/modules/ROOT/pages/api/chat/groq-chat.adoc | 6 +++--- .../antora/modules/ROOT/pages/api/chat/huggingface.adoc | 2 +- .../antora/modules/ROOT/pages/api/chat/minimax-chat.adoc | 6 +++--- .../modules/ROOT/pages/api/chat/mistralai-chat.adoc | 6 +++--- .../antora/modules/ROOT/pages/api/chat/moonshot-chat.adoc | 6 +++--- .../antora/modules/ROOT/pages/api/chat/nvidia-chat.adoc | 6 +++--- .../antora/modules/ROOT/pages/api/chat/ollama-chat.adoc | 6 +++--- .../antora/modules/ROOT/pages/api/chat/openai-chat.adoc | 6 +++--- .../antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc | 6 +++--- .../modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc | 4 ++-- .../modules/ROOT/pages/api/chat/vertexai-palm2-chat.adoc | 4 ++-- .../modules/ROOT/pages/api/chat/watsonx-ai-chat.adoc | 4 ++-- .../antora/modules/ROOT/pages/api/chat/zhipuai-chat.adoc | 6 +++--- .../pages/api/embeddings/azure-openai-embeddings.adoc | 4 ++-- .../pages/api/embeddings/bedrock-cohere-embedding.adoc | 4 ++-- .../pages/api/embeddings/bedrock-titan-embedding.adoc | 4 ++-- .../ROOT/pages/api/embeddings/minimax-embeddings.adoc | 6 +++--- .../ROOT/pages/api/embeddings/mistralai-embeddings.adoc | 6 +++--- .../ROOT/pages/api/embeddings/oci-genai-embeddings.adoc | 4 ++-- .../ROOT/pages/api/embeddings/ollama-embeddings.adoc | 4 ++-- .../antora/modules/ROOT/pages/api/embeddings/onnx.adoc | 2 +- .../ROOT/pages/api/embeddings/openai-embeddings.adoc | 6 +++--- .../ROOT/pages/api/embeddings/postgresml-embeddings.adoc | 2 +- .../ROOT/pages/api/embeddings/qianfan-embeddings.adoc | 6 +++--- .../api/embeddings/vertexai-embeddings-multimodal.adoc | 8 ++++---- .../pages/api/embeddings/vertexai-embeddings-palm2.adoc | 2 +- .../pages/api/embeddings/vertexai-embeddings-text.adoc | 4 ++-- .../ROOT/pages/api/embeddings/watsonx-ai-embeddings.adoc | 4 ++-- .../ROOT/pages/api/embeddings/zhipuai-embeddings.adoc | 6 +++--- 30 files changed, 73 insertions(+), 73 deletions(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc index dec53b450..1ffabb41d 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc @@ -110,7 +110,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.azure.openai` is the property prefix to configure the connection to Azure OpenAI. -[cols="3,5,3"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -118,13 +118,13 @@ The prefix `spring.ai.azure.openai` is the property prefix to configure the conn | spring.ai.azure.openai.endpoint | The endpoint from the Azure AI OpenAI `Keys and Endpoint` section under `Resource Management` | - | spring.ai.azure.openai.openai-api-key | (non Azure) OpenAI API key. Used to authenticate with the OpenAI service, instead of Azure OpenAI. This automatically sets the endpoint to https://api.openai.com/v1. Use either `api-key` or `openai-api-key` property. -With this configuraiton the `spring.ai.azure.openai.chat.options.deployment-name` is threated as an https://platform.openai.com/docs/models[OpenAi Model] name.| - +With this configuration the `spring.ai.azure.openai.chat.options.deployment-name` is threated as an https://platform.openai.com/docs/models[OpenAi Model] name.| - | spring.ai.azure.openai.custom-headers | A map of custom headers to be included in the API requests. Each entry in the map represents a header, where the key is the header name and the value is the header value. | Empty map |==== The prefix `spring.ai.azure.openai.chat` is the property prefix that configures the `ChatModel` implementation for Azure OpenAI. -[cols="3,5,3"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/groq-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/groq-chat.adoc index ab945b125..d77eaa6a9 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/groq-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/groq-chat.adoc @@ -73,7 +73,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the OpenAI chat model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -90,7 +90,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.openai` is used as the property prefix that lets you connect to OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -103,7 +103,7 @@ The prefix `spring.ai.openai` is used as the property prefix that lets you conne The prefix `spring.ai.openai.chat` is the property prefix that lets you configure the chat model implementation for OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/huggingface.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/huggingface.adoc index 7b434a6c1..d9446dd6d 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/huggingface.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/huggingface.adoc @@ -52,7 +52,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.huggingface` is the property prefix that lets you configure the chat model implementation for Hugging Face. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default | spring.ai.huggingface.chat.api-key | API Key to authenticate with the Inference Endpoint. | - diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc index 95d459918..160b63ede 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc @@ -54,7 +54,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the MiniMax chat model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -71,7 +71,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.minimax` is used as the property prefix that lets you connect to MiniMax. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -83,7 +83,7 @@ The prefix `spring.ai.minimax` is used as the property prefix that lets you conn The prefix `spring.ai.minimax.chat` is the property prefix that lets you configure the chat model implementation for MiniMax. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/mistralai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/mistralai-chat.adoc index 5d2680a49..e0dd67906 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/mistralai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/mistralai-chat.adoc @@ -54,7 +54,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the Mistral AI chat model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -71,7 +71,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.mistralai` is used as the property prefix that lets you connect to OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -83,7 +83,7 @@ The prefix `spring.ai.mistralai` is used as the property prefix that lets you co The prefix `spring.ai.mistralai.chat` is the property prefix that lets you configure the chat model implementation for Mistral AI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/moonshot-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/moonshot-chat.adoc index d2b68f93e..36401bd13 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/moonshot-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/moonshot-chat.adoc @@ -53,7 +53,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the Moonshot AI Chat model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -70,7 +70,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.moonshot` is used as the property prefix that lets you connect to Moonshot. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -82,7 +82,7 @@ The prefix `spring.ai.moonshot` is used as the property prefix that lets you con The prefix `spring.ai.moonshot.chat` is the property prefix that lets you configure the chat model implementation for Moonshot. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/nvidia-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/nvidia-chat.adoc index ee7a02033..406422c25 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/nvidia-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/nvidia-chat.adoc @@ -50,7 +50,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the OpenAI chat model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -67,7 +67,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.openai` is used as the property prefix that lets you connect to OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -79,7 +79,7 @@ The prefix `spring.ai.openai` is used as the property prefix that lets you conne The prefix `spring.ai.openai.chat` is the property prefix that lets you configure the chat model implementation for OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc index df4e088ad..071cc67d1 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc @@ -43,7 +43,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.ollama` is the property prefix to configure the connection to Ollama. -[cols="3,6,1"] +[cols="3,6,1", stripes=even] |==== | Property | Description | Default @@ -55,7 +55,7 @@ It includes the Ollama request (advanced) parameters such as the `model`, `keep- Here are the advanced request parameter for the Ollama chat model: -[cols="3,6,1"] +[cols="3,6,1", stripes=even] |==== | Property | Description | Default @@ -68,7 +68,7 @@ Here are the advanced request parameter for the Ollama chat model: The remaining `options` properties are based on the link:https://github.com/ollama/ollama/blob/main/docs/modelfile.md#valid-parameters-and-values[Ollama Valid Parameters and Values] and link:https://github.com/ollama/ollama/blob/main/api/types.go[Ollama Types]. The default values are based on the link:https://github.com/ollama/ollama/blob/b538dc3858014f94b099730a592751a5454cab0a/api/types.go#L364[Ollama Types Defaults]. -[cols="3,6,1"] +[cols="3,6,1", stripes=even] |==== | Property | Description | Default | spring.ai.ollama.chat.options.numa | Whether to use NUMA. | false diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc index 5b10f18b8..f74a63e18 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc @@ -51,7 +51,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the OpenAI chat model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -68,7 +68,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.openai` is used as the property prefix that lets you connect to OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -85,7 +85,7 @@ Usage from these API requests will count as usage for the specified organization The prefix `spring.ai.openai.chat` is the property prefix that lets you configure the chat model implementation for OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc index 3e3467596..43bc86c48 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc @@ -55,7 +55,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the QianFan Chat client. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -72,7 +72,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.qianfan` is used as the property prefix that lets you connect to QianFan. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -85,7 +85,7 @@ The prefix `spring.ai.qianfan` is used as the property prefix that lets you conn The prefix `spring.ai.qianfan.chat` is the property prefix that lets you configure the chat client implementation for QianFan. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc index 4bd5bafbf..87933d2f0 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc @@ -48,7 +48,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.vertex.ai.gemini` is used as the property prefix that lets you connect to VertexAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -62,7 +62,7 @@ The prefix `spring.ai.vertex.ai.gemini` is used as the property prefix that lets The prefix `spring.ai.vertex.ai.gemini.chat` is the property prefix that lets you configure the chat model implementation for VertexAI Gemini Chat. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-palm2-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-palm2-chat.adoc index d5f935713..7d9bcbb0a 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-palm2-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-palm2-chat.adoc @@ -58,7 +58,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.vertex.ai` is used as the property prefix that lets you connect to VertexAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -68,7 +68,7 @@ The prefix `spring.ai.vertex.ai` is used as the property prefix that lets you co The prefix `spring.ai.vertex.ai.chat` is the property prefix that lets you configure the chat model implementation for VertexAI Chat. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/watsonx-ai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/watsonx-ai-chat.adoc index e7e8a23b7..9c63162d9 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/watsonx-ai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/watsonx-ai-chat.adoc @@ -40,7 +40,7 @@ dependencies { The prefix `spring.ai.watsonx.ai` is used as the property prefix that lets you connect to watsonx.ai. -[cols="4,3,3"] +[cols="4,3,3", stripes=even] |==== | Property | Description | Default @@ -55,7 +55,7 @@ The prefix `spring.ai.watsonx.ai` is used as the property prefix that lets you c The prefix `spring.ai.watsonx.ai.chat` is the property prefix that lets you configure the chat model implementation for Watsonx.AI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/zhipuai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/zhipuai-chat.adoc index 328dc9a2b..7f417336d 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/zhipuai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/zhipuai-chat.adoc @@ -54,7 +54,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the ZhiPu AI chat model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -71,7 +71,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.zhiPu` is used as the property prefix that lets you connect to ZhiPuAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -83,7 +83,7 @@ The prefix `spring.ai.zhiPu` is used as the property prefix that lets you connec The prefix `spring.ai.zhipuai.chat` is the property prefix that lets you configure the chat model implementation for ZhiPuAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/azure-openai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/azure-openai-embeddings.adoc index ede60c150..f4620cd5c 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/azure-openai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/azure-openai-embeddings.adoc @@ -85,7 +85,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.azure.openai` is the property prefix to configure the connection to Azure OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -99,7 +99,7 @@ With this configuraiton the `spring.ai.azure.openai.embedding.options.deployment The prefix `spring.ai.azure.openai.embedding` is the property prefix that configures the `EmbeddingModel` implementation for Azure OpenAI -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-cohere-embedding.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-cohere-embedding.adoc index 4d5293121..de0419792 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-cohere-embedding.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-cohere-embedding.adoc @@ -53,7 +53,7 @@ export SPRING_AI_BEDROCK_COHERE_EMBEDDING_ENABLED=true The prefix `spring.ai.bedrock.aws` is the property prefix to configure the connection to AWS Bedrock. -[cols="3,4,1"] +[cols="3,4,1", stripes=even] |==== | Property | Description | Default @@ -64,7 +64,7 @@ The prefix `spring.ai.bedrock.aws` is the property prefix to configure the conne The prefix `spring.ai.bedrock.cohere.embedding` (defined in `BedrockCohereEmbeddingProperties`) is the property prefix that configures the embedding model implementation for Cohere. -[cols="3,4,1"] +[cols="3,4,1", stripes=even] |==== | Property | Description | Default | spring.ai.bedrock.cohere.embedding.enabled | Enable or disable support for Cohere | false diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-titan-embedding.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-titan-embedding.adoc index 4e1bae577..e694649e1 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-titan-embedding.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-titan-embedding.adoc @@ -60,7 +60,7 @@ export SPRING_AI_BEDROCK_TITAN_EMBEDDING_ENABLED=true The prefix `spring.ai.bedrock.aws` is the property prefix to configure the connection to AWS Bedrock. -[cols="3,4,1"] +[cols="3,4,1", stripes=even] |==== | Property | Description | Default @@ -71,7 +71,7 @@ The prefix `spring.ai.bedrock.aws` is the property prefix to configure the conne The prefix `spring.ai.bedrock.titan.embedding` (defined in `BedrockTitanEmbeddingProperties`) is the property prefix that configures the embedding model implementation for Titan. -[cols="3,4,1"] +[cols="3,4,1", stripes=even] |==== | Property | Description | Default | spring.ai.bedrock.titan.embedding.enabled | Enable or disable support for Titan embedding | false diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/minimax-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/minimax-embeddings.adoc index 2216ca2f2..b0a917098 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/minimax-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/minimax-embeddings.adoc @@ -54,7 +54,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the MiniMax Embedding model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -71,7 +71,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.minimax` is used as the property prefix that lets you connect to MiniMax. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -83,7 +83,7 @@ The prefix `spring.ai.minimax` is used as the property prefix that lets you conn The prefix `spring.ai.minimax.embedding` is property prefix that configures the `EmbeddingModel` implementation for MiniMax. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/mistralai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/mistralai-embeddings.adoc index c8ac4a23c..23f2781ba 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/mistralai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/mistralai-embeddings.adoc @@ -53,7 +53,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the Mistral AI Embedding model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -70,7 +70,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.mistralai` is used as the property prefix that lets you connect to MistralAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -82,7 +82,7 @@ The prefix `spring.ai.mistralai` is used as the property prefix that lets you co The prefix `spring.ai.mistralai.embedding` is property prefix that configures the `EmbeddingModel` implementation for MistralAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/oci-genai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/oci-genai-embeddings.adoc index 2912d3935..b8d42eee2 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/oci-genai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/oci-genai-embeddings.adoc @@ -40,7 +40,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.oci.genai` is the property prefix to configure the connection to OCI GenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -60,7 +60,7 @@ The prefix `spring.ai.oci.genai` is the property prefix to configure the connect The prefix `spring.ai.oci.genai.embedding` is the property prefix that configures the `EmbeddingModel` implementation for OCI GenAI -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/ollama-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/ollama-embeddings.adoc index 15182bedd..be67d4573 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/ollama-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/ollama-embeddings.adoc @@ -57,7 +57,7 @@ It includes the Ollama request (advanced) parameters such as the `model`, `keep- Here are the advanced request parameter for the Ollama embedding model: -[cols="4,5,1"] +[cols="4,5,1", stripes=even] |==== | Property | Description | Default | spring.ai.ollama.embedding.enabled | Enables the Ollama embedding model auto-configuration. | true @@ -70,7 +70,7 @@ You can use dedicated https://ollama.com/search?c=embedding[Embedding Model] typ The remaining `options` properties are based on the link:https://github.com/ollama/ollama/blob/main/docs/modelfile.md#valid-parameters-and-values[Ollama Valid Parameters and Values] and link:https://github.com/ollama/ollama/blob/main/api/types.go[Ollama Types]. The default values are based on: link:https://github.com/ollama/ollama/blob/b538dc3858014f94b099730a592751a5454cab0a/api/types.go#L364[Ollama type defaults]. -[cols="4,5,1"] +[cols="4,5,1", stripes=even] |==== | Property | Description | Default | spring.ai.ollama.embedding.options.numa | Whether to use NUMA. | false diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/onnx.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/onnx.adoc index 67af1a961..0f9fe553a 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/onnx.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/onnx.adoc @@ -66,7 +66,7 @@ The complete list of supported properties are: === Embedding Properties -[cols="3*"] +[cols="3*"", stripes=even] |=== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/openai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/openai-embeddings.adoc index 7e66fd82f..33a93c9a9 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/openai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/openai-embeddings.adoc @@ -54,7 +54,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the OpenAI Embedding model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -71,7 +71,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.openai` is used as the property prefix that lets you connect to OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -88,7 +88,7 @@ Usage from these API requests will count as usage for the specified organization The prefix `spring.ai.openai.embedding` is property prefix that configures the `EmbeddingModel` implementation for OpenAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/postgresml-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/postgresml-embeddings.adoc index bb2376162..f3c04e0f2 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/postgresml-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/postgresml-embeddings.adoc @@ -46,7 +46,7 @@ Use the `spring.ai.postgresml.embedding.options.*` properties to configure your The prefix `spring.ai.postgresml.embedding` is property prefix that configures the `EmbeddingModel` implementation for PostgresML embeddings. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default | spring.ai.postgresml.embedding.enabled | Enable PostgresML embedding model. | true diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/qianfan-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/qianfan-embeddings.adoc index 654e909f3..260ad6363 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/qianfan-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/qianfan-embeddings.adoc @@ -55,7 +55,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the QianFan Embedding client. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -72,7 +72,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.qianfan` is used as the property prefix that lets you connect to QianFan. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -85,7 +85,7 @@ The prefix `spring.ai.qianfan` is used as the property prefix that lets you conn The prefix `spring.ai.qianfan.embedding` is property prefix that configures the `EmbeddingClient` implementation for QianFan. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-multimodal.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-multimodal.adoc index 854b16b65..526d07c39 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-multimodal.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-multimodal.adoc @@ -62,7 +62,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.vertex.ai.embedding` is used as the property prefix that lets you connect to VertexAI Embedding API. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -74,7 +74,7 @@ The prefix `spring.ai.vertex.ai.embedding` is used as the property prefix that l The prefix `spring.ai.vertex.ai.embedding.multimodal` is the property prefix that lets you configure the embedding model implementation for VertexAI Multimodal Embedding. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -117,8 +117,8 @@ Next, create a `VertexAiMultimodalEmbeddingModel` and use it for embeddings gene [source,java] ---- -VertexAiEmbeddigConnectionDetails connectionDetails = - VertexAiEmbeddigConnectionDetails.builder() +VertexAiEmbeddingConnectionDetails connectionDetails = + VertexAiEmbeddingConnectionDetails.builder() .withProjectId(System.getenv()) .withLocation(System.getenv()) .build(); diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-palm2.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-palm2.adoc index 425baa1dc..b81e56d92 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-palm2.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-palm2.adoc @@ -69,7 +69,7 @@ The prefix `spring.ai.vertex.ai` is used as the property prefix that lets you co The prefix `spring.ai.vertex.ai.embedding` is the property prefix that lets you configure the embedding model implementation for VertexAI Chat. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-text.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-text.adoc index 253940884..56bdef6d5 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-text.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-text.adoc @@ -54,7 +54,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.vertex.ai.embedding` is used as the property prefix that lets you connect to VertexAI Embedding API. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -66,7 +66,7 @@ The prefix `spring.ai.vertex.ai.embedding` is used as the property prefix that l The prefix `spring.ai.vertex.ai.embedding.text` is the property prefix that lets you configure the embedding model implementation for VertexAI Text Embedding. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/watsonx-ai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/watsonx-ai-embeddings.adoc index 847021bb5..9186df029 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/watsonx-ai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/watsonx-ai-embeddings.adoc @@ -52,7 +52,7 @@ The `spring.ai.watsonx.embedding.options.*` properties are used to configure the The prefix `spring.ai.watsonx.ai` is used as the property prefix that lets you connect to watsonx.ai. -[cols="4,3,3"] +[cols="4,3,3", stripes=even] |==== | Property | Description | Default @@ -64,7 +64,7 @@ The prefix `spring.ai.watsonx.ai` is used as the property prefix that lets you c The prefix `spring.ai.watsonx.embedding.options` is the property prefix that configures the `EmbeddingModel` implementation for Watsonx.ai. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/zhipuai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/zhipuai-embeddings.adoc index 7ddd5f03a..444dede39 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/zhipuai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/zhipuai-embeddings.adoc @@ -54,7 +54,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man The prefix `spring.ai.retry` is used as the property prefix that lets you configure the retry mechanism for the ZhiPuAI Embedding model. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -71,7 +71,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config The prefix `spring.ai.zhipuai` is used as the property prefix that lets you connect to ZhiPuAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default @@ -83,7 +83,7 @@ The prefix `spring.ai.zhipuai` is used as the property prefix that lets you conn The prefix `spring.ai.zhipuai.embedding` is property prefix that configures the `EmbeddingModel` implementation for ZhiPuAI. -[cols="3,5,1"] +[cols="3,5,1", stripes=even] |==== | Property | Description | Default