Skip to content

Commit 4b30bf2

Browse files
committed
Fix docs
1 parent 5d53498 commit 4b30bf2

File tree

2 files changed

+176
-0
lines changed

2 files changed

+176
-0
lines changed

docs/modules/ROOT/pages/includes/quarkus-langchain4j-ai-gemini.adoc

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,50 @@ endif::add-copy-button-to-env-var[]
382382
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-quarkus-langchain4j-ai-gemini_quarkus-langchain4j[icon:question-circle[title=More information about the Duration format]]
383383
|`10s`
384384

385+
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-chat-model-thinking-include-thoughts]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-chat-model-thinking-include-thoughts[`quarkus.langchain4j.ai.gemini.chat-model.thinking.include-thoughts`]##
386+
ifdef::add-copy-button-to-config-props[]
387+
config_property_copy_button:+++quarkus.langchain4j.ai.gemini.chat-model.thinking.include-thoughts+++[]
388+
endif::add-copy-button-to-config-props[]
389+
390+
391+
[.description]
392+
--
393+
Controls whether thought summaries are enabled. Thought summaries are synthesized versions of the model's raw thoughts and offer insights into the model's internal reasoning process.
394+
395+
396+
ifdef::add-copy-button-to-env-var[]
397+
Environment variable: env_var_with_copy_button:+++QUARKUS_LANGCHAIN4J_AI_GEMINI_CHAT_MODEL_THINKING_INCLUDE_THOUGHTS+++[]
398+
endif::add-copy-button-to-env-var[]
399+
ifndef::add-copy-button-to-env-var[]
400+
Environment variable: `+++QUARKUS_LANGCHAIN4J_AI_GEMINI_CHAT_MODEL_THINKING_INCLUDE_THOUGHTS+++`
401+
endif::add-copy-button-to-env-var[]
402+
--
403+
|boolean
404+
|`false`
405+
406+
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-chat-model-thinking-thinking-budget]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-chat-model-thinking-thinking-budget[`quarkus.langchain4j.ai.gemini.chat-model.thinking.thinking-budget`]##
407+
ifdef::add-copy-button-to-config-props[]
408+
config_property_copy_button:+++quarkus.langchain4j.ai.gemini.chat-model.thinking.thinking-budget+++[]
409+
endif::add-copy-button-to-config-props[]
410+
411+
412+
[.description]
413+
--
414+
The thinkingBudget parameter guides the model on the number of thinking tokens to use when generating a response. A higher token count generally allows for more detailed reasoning, which can be beneficial for tackling more complex tasks. If latency is more important, use a lower budget or disable thinking by setting thinkingBudget to 0. Setting the thinkingBudget to -1 turns on dynamic thinking, meaning the model will adjust the budget based on the complexity of the request.
415+
416+
The thinkingBudget is only supported in Gemini 2.5 Flash, 2.5 Pro, and 2.5 Flash-Lite. Depending on the prompt, the model might overflow or underflow the token budget. See link:https://ai.google.dev/gemini-api/docs/thinking#set-budget[Gemini API docs] for more details.
417+
418+
419+
ifdef::add-copy-button-to-env-var[]
420+
Environment variable: env_var_with_copy_button:+++QUARKUS_LANGCHAIN4J_AI_GEMINI_CHAT_MODEL_THINKING_THINKING_BUDGET+++[]
421+
endif::add-copy-button-to-env-var[]
422+
ifndef::add-copy-button-to-env-var[]
423+
Environment variable: `+++QUARKUS_LANGCHAIN4J_AI_GEMINI_CHAT_MODEL_THINKING_THINKING_BUDGET+++`
424+
endif::add-copy-button-to-env-var[]
425+
--
426+
|long
427+
|
428+
385429
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-embedding-model-model-id]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-embedding-model-model-id[`quarkus.langchain4j.ai.gemini.embedding-model.model-id`]##
386430
ifdef::add-copy-button-to-config-props[]
387431
config_property_copy_button:+++quarkus.langchain4j.ai.gemini.embedding-model.model-id+++[]
@@ -845,6 +889,50 @@ endif::add-copy-button-to-env-var[]
845889
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-quarkus-langchain4j-ai-gemini_quarkus-langchain4j[icon:question-circle[title=More information about the Duration format]]
846890
|`10s`
847891

892+
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-chat-model-thinking-include-thoughts]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-chat-model-thinking-include-thoughts[`quarkus.langchain4j.ai.gemini."model-name".chat-model.thinking.include-thoughts`]##
893+
ifdef::add-copy-button-to-config-props[]
894+
config_property_copy_button:+++quarkus.langchain4j.ai.gemini."model-name".chat-model.thinking.include-thoughts+++[]
895+
endif::add-copy-button-to-config-props[]
896+
897+
898+
[.description]
899+
--
900+
Controls whether thought summaries are enabled. Thought summaries are synthesized versions of the model's raw thoughts and offer insights into the model's internal reasoning process.
901+
902+
903+
ifdef::add-copy-button-to-env-var[]
904+
Environment variable: env_var_with_copy_button:+++QUARKUS_LANGCHAIN4J_AI_GEMINI__MODEL_NAME__CHAT_MODEL_THINKING_INCLUDE_THOUGHTS+++[]
905+
endif::add-copy-button-to-env-var[]
906+
ifndef::add-copy-button-to-env-var[]
907+
Environment variable: `+++QUARKUS_LANGCHAIN4J_AI_GEMINI__MODEL_NAME__CHAT_MODEL_THINKING_INCLUDE_THOUGHTS+++`
908+
endif::add-copy-button-to-env-var[]
909+
--
910+
|boolean
911+
|`false`
912+
913+
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-chat-model-thinking-thinking-budget]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-chat-model-thinking-thinking-budget[`quarkus.langchain4j.ai.gemini."model-name".chat-model.thinking.thinking-budget`]##
914+
ifdef::add-copy-button-to-config-props[]
915+
config_property_copy_button:+++quarkus.langchain4j.ai.gemini."model-name".chat-model.thinking.thinking-budget+++[]
916+
endif::add-copy-button-to-config-props[]
917+
918+
919+
[.description]
920+
--
921+
The thinkingBudget parameter guides the model on the number of thinking tokens to use when generating a response. A higher token count generally allows for more detailed reasoning, which can be beneficial for tackling more complex tasks. If latency is more important, use a lower budget or disable thinking by setting thinkingBudget to 0. Setting the thinkingBudget to -1 turns on dynamic thinking, meaning the model will adjust the budget based on the complexity of the request.
922+
923+
The thinkingBudget is only supported in Gemini 2.5 Flash, 2.5 Pro, and 2.5 Flash-Lite. Depending on the prompt, the model might overflow or underflow the token budget. See link:https://ai.google.dev/gemini-api/docs/thinking#set-budget[Gemini API docs] for more details.
924+
925+
926+
ifdef::add-copy-button-to-env-var[]
927+
Environment variable: env_var_with_copy_button:+++QUARKUS_LANGCHAIN4J_AI_GEMINI__MODEL_NAME__CHAT_MODEL_THINKING_THINKING_BUDGET+++[]
928+
endif::add-copy-button-to-env-var[]
929+
ifndef::add-copy-button-to-env-var[]
930+
Environment variable: `+++QUARKUS_LANGCHAIN4J_AI_GEMINI__MODEL_NAME__CHAT_MODEL_THINKING_THINKING_BUDGET+++`
931+
endif::add-copy-button-to-env-var[]
932+
--
933+
|long
934+
|
935+
848936
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-embedding-model-model-id]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-embedding-model-model-id[`quarkus.langchain4j.ai.gemini."model-name".embedding-model.model-id`]##
849937
ifdef::add-copy-button-to-config-props[]
850938
config_property_copy_button:+++quarkus.langchain4j.ai.gemini."model-name".embedding-model.model-id+++[]

docs/modules/ROOT/pages/includes/quarkus-langchain4j-ai-gemini_quarkus.langchain4j.adoc

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,50 @@ endif::add-copy-button-to-env-var[]
382382
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-quarkus-langchain4j-ai-gemini_quarkus-langchain4j[icon:question-circle[title=More information about the Duration format]]
383383
|`10s`
384384

385+
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-chat-model-thinking-include-thoughts]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-chat-model-thinking-include-thoughts[`quarkus.langchain4j.ai.gemini.chat-model.thinking.include-thoughts`]##
386+
ifdef::add-copy-button-to-config-props[]
387+
config_property_copy_button:+++quarkus.langchain4j.ai.gemini.chat-model.thinking.include-thoughts+++[]
388+
endif::add-copy-button-to-config-props[]
389+
390+
391+
[.description]
392+
--
393+
Controls whether thought summaries are enabled. Thought summaries are synthesized versions of the model's raw thoughts and offer insights into the model's internal reasoning process.
394+
395+
396+
ifdef::add-copy-button-to-env-var[]
397+
Environment variable: env_var_with_copy_button:+++QUARKUS_LANGCHAIN4J_AI_GEMINI_CHAT_MODEL_THINKING_INCLUDE_THOUGHTS+++[]
398+
endif::add-copy-button-to-env-var[]
399+
ifndef::add-copy-button-to-env-var[]
400+
Environment variable: `+++QUARKUS_LANGCHAIN4J_AI_GEMINI_CHAT_MODEL_THINKING_INCLUDE_THOUGHTS+++`
401+
endif::add-copy-button-to-env-var[]
402+
--
403+
|boolean
404+
|`false`
405+
406+
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-chat-model-thinking-thinking-budget]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-chat-model-thinking-thinking-budget[`quarkus.langchain4j.ai.gemini.chat-model.thinking.thinking-budget`]##
407+
ifdef::add-copy-button-to-config-props[]
408+
config_property_copy_button:+++quarkus.langchain4j.ai.gemini.chat-model.thinking.thinking-budget+++[]
409+
endif::add-copy-button-to-config-props[]
410+
411+
412+
[.description]
413+
--
414+
The thinkingBudget parameter guides the model on the number of thinking tokens to use when generating a response. A higher token count generally allows for more detailed reasoning, which can be beneficial for tackling more complex tasks. If latency is more important, use a lower budget or disable thinking by setting thinkingBudget to 0. Setting the thinkingBudget to -1 turns on dynamic thinking, meaning the model will adjust the budget based on the complexity of the request.
415+
416+
The thinkingBudget is only supported in Gemini 2.5 Flash, 2.5 Pro, and 2.5 Flash-Lite. Depending on the prompt, the model might overflow or underflow the token budget. See link:https://ai.google.dev/gemini-api/docs/thinking#set-budget[Gemini API docs] for more details.
417+
418+
419+
ifdef::add-copy-button-to-env-var[]
420+
Environment variable: env_var_with_copy_button:+++QUARKUS_LANGCHAIN4J_AI_GEMINI_CHAT_MODEL_THINKING_THINKING_BUDGET+++[]
421+
endif::add-copy-button-to-env-var[]
422+
ifndef::add-copy-button-to-env-var[]
423+
Environment variable: `+++QUARKUS_LANGCHAIN4J_AI_GEMINI_CHAT_MODEL_THINKING_THINKING_BUDGET+++`
424+
endif::add-copy-button-to-env-var[]
425+
--
426+
|long
427+
|
428+
385429
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-embedding-model-model-id]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-embedding-model-model-id[`quarkus.langchain4j.ai.gemini.embedding-model.model-id`]##
386430
ifdef::add-copy-button-to-config-props[]
387431
config_property_copy_button:+++quarkus.langchain4j.ai.gemini.embedding-model.model-id+++[]
@@ -845,6 +889,50 @@ endif::add-copy-button-to-env-var[]
845889
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-quarkus-langchain4j-ai-gemini_quarkus-langchain4j[icon:question-circle[title=More information about the Duration format]]
846890
|`10s`
847891

892+
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-chat-model-thinking-include-thoughts]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-chat-model-thinking-include-thoughts[`quarkus.langchain4j.ai.gemini."model-name".chat-model.thinking.include-thoughts`]##
893+
ifdef::add-copy-button-to-config-props[]
894+
config_property_copy_button:+++quarkus.langchain4j.ai.gemini."model-name".chat-model.thinking.include-thoughts+++[]
895+
endif::add-copy-button-to-config-props[]
896+
897+
898+
[.description]
899+
--
900+
Controls whether thought summaries are enabled. Thought summaries are synthesized versions of the model's raw thoughts and offer insights into the model's internal reasoning process.
901+
902+
903+
ifdef::add-copy-button-to-env-var[]
904+
Environment variable: env_var_with_copy_button:+++QUARKUS_LANGCHAIN4J_AI_GEMINI__MODEL_NAME__CHAT_MODEL_THINKING_INCLUDE_THOUGHTS+++[]
905+
endif::add-copy-button-to-env-var[]
906+
ifndef::add-copy-button-to-env-var[]
907+
Environment variable: `+++QUARKUS_LANGCHAIN4J_AI_GEMINI__MODEL_NAME__CHAT_MODEL_THINKING_INCLUDE_THOUGHTS+++`
908+
endif::add-copy-button-to-env-var[]
909+
--
910+
|boolean
911+
|`false`
912+
913+
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-chat-model-thinking-thinking-budget]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-chat-model-thinking-thinking-budget[`quarkus.langchain4j.ai.gemini."model-name".chat-model.thinking.thinking-budget`]##
914+
ifdef::add-copy-button-to-config-props[]
915+
config_property_copy_button:+++quarkus.langchain4j.ai.gemini."model-name".chat-model.thinking.thinking-budget+++[]
916+
endif::add-copy-button-to-config-props[]
917+
918+
919+
[.description]
920+
--
921+
The thinkingBudget parameter guides the model on the number of thinking tokens to use when generating a response. A higher token count generally allows for more detailed reasoning, which can be beneficial for tackling more complex tasks. If latency is more important, use a lower budget or disable thinking by setting thinkingBudget to 0. Setting the thinkingBudget to -1 turns on dynamic thinking, meaning the model will adjust the budget based on the complexity of the request.
922+
923+
The thinkingBudget is only supported in Gemini 2.5 Flash, 2.5 Pro, and 2.5 Flash-Lite. Depending on the prompt, the model might overflow or underflow the token budget. See link:https://ai.google.dev/gemini-api/docs/thinking#set-budget[Gemini API docs] for more details.
924+
925+
926+
ifdef::add-copy-button-to-env-var[]
927+
Environment variable: env_var_with_copy_button:+++QUARKUS_LANGCHAIN4J_AI_GEMINI__MODEL_NAME__CHAT_MODEL_THINKING_THINKING_BUDGET+++[]
928+
endif::add-copy-button-to-env-var[]
929+
ifndef::add-copy-button-to-env-var[]
930+
Environment variable: `+++QUARKUS_LANGCHAIN4J_AI_GEMINI__MODEL_NAME__CHAT_MODEL_THINKING_THINKING_BUDGET+++`
931+
endif::add-copy-button-to-env-var[]
932+
--
933+
|long
934+
|
935+
848936
a| [[quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-embedding-model-model-id]] [.property-path]##link:#quarkus-langchain4j-ai-gemini_quarkus-langchain4j-ai-gemini-model-name-embedding-model-model-id[`quarkus.langchain4j.ai.gemini."model-name".embedding-model.model-id`]##
849937
ifdef::add-copy-button-to-config-props[]
850938
config_property_copy_button:+++quarkus.langchain4j.ai.gemini."model-name".embedding-model.model-id+++[]

0 commit comments

Comments
 (0)