We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e39550 commit 0e23fbeCopy full SHA for 0e23fbe
docs/guides/SPRING_AI_INTEGRATION.md
@@ -123,7 +123,10 @@ class WeatherMethod {
123
Then add your tool to the options:
124
125
```java
126
-OrchestrationChatOptions options = new OrchestrationChatOptions(config);
+ChatModel client = new OrchestrationChatModel();
127
+OrchestrationModuleConfig config = new OrchestrationModuleConfig().withLlmConfig(GPT_35_TURBO);
128
+OrchestrationChatOptions opts = new OrchestrationChatOptions(config);
129
+
130
options.setToolCallbacks(List.of(ToolCallbacks.from(new WeatherMethod())));
131
132
options.setInternalToolExecutionEnabled(false);// tool execution is not yet available in orchestration
0 commit comments