Commit Graph

51 Commits

Author SHA1 Message Date
extio-de
4ff231227e feat: Support OLLAMA provider
- Added OllamaClient to handle conversations with the Ollama API.
- Introduced OllamaDialect for managing thinking modes.
- Created data classes: OllamaFunctionCall, OllamaListedModel, OllamaMessage, OllamaShowRequest, OllamaShowResponse, OllamaTagsResponse, OllamaToolCall, OllamaToolDefinition, and OllamaToolFunction for structured API communication.
- Developed unit tests for OllamaClient to validate model listing, chat completion, streaming responses, and tool calling capabilities.
- Configured test properties for local Ollama instance.
2026-05-09 17:47:28 +02:00
github-actions[bot]
b741b5f016 chore: release 2.8.0 2026-05-07 16:42:08 +00:00
github-actions[bot]
12b9d2aaba chore: release 2.7.0 2026-05-07 16:35:46 +00:00
Stephan Birkl
33f76defa5 feat: Enhance OpenAiProviderDialect for improved request handling and update related classes
- Refactored OpenAiProviderDialect to include methods for managing chat token limits and reasoning effort.
- Updated ChatCompletionClient and AbstractCompletionClient to utilize the new dialect methods for request shaping.
- Modified ChatCompletionRequest to replace reasoning properties with a single reasoningEffort field.
- Adjusted tests to reflect changes in request handling and dialect behavior.
- Updated README to clarify the new request shaping capabilities and defaults.
2026-05-07 18:22:12 +02:00
Stephan Birkl
244aa2574b feat: Introduce OpenAiProviderDialect for flexible request shaping and remove reasoning properties from ModelProfile
- Added OpenAiProviderDialect to manage request features for OpenAI-compatible providers.
- Refactored ChatCompletionClient and TextCompletionClient to utilize the new dialect for handling reasoning and usage settings.
- Removed reasoningEffort and reasoningSummaryDetails from ModelProfile and related services.
- Updated README to reflect changes in request shaping and dialect usage.
2026-05-07 17:57:59 +02:00
github-actions[bot]
6235c49358 chore: release 2.6.0 2026-05-06 20:01:46 +00:00
extio-de
ec30026e02 feat: Update release workflow for Maven Central deployment and enhance POM metadata
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 21:45:10 +02:00
extio-de
587217235b feat: Enhance documentation for ToolCallingAgentResponseHandler with detailed usage examples and tool call handling logic 2026-04-20 20:36:31 +02:00
extio-de
c3ffc52fab feat: Enhance tool call handling in BaseAgent and AgentTest for improved multi-tool support 2026-04-15 22:25:32 +02:00
extio-de
b8f47f2745 feat: Enhance tool call handling with support for multiple tools in conversation 2026-04-15 21:51:20 +02:00
extio-de
b4d1a44d93 feat: Implement tokenizer resolver and fallback tokenizer; update model profiles and README 2026-04-03 18:40:53 +02:00
extio-de
dce82a98cd feat: Enhance chat completion with tool calling capabilities
- Added support for tools in ChatCompletionRequest, including tool choice and parallel tool calls.
- Introduced ChatCompletionTool and ChatCompletionFunction classes to define tool specifications.
- Updated ChatMessage to include tool calls and tool call IDs.
- Created ChatToolCall and ChatToolFunction classes for managing tool call details.
- Modified TextCompletionClient to support tool calling.
- Updated Grader and Grader2 classes to handle new tool-related logic.
- Enhanced Agent and AgentTest classes to incorporate tool calling in agent workflows.
- Added tests for tool calling functionality in CachedClientTest and CompletionClientTest.
2026-03-22 18:09:10 +01:00
extio-de
636353334b chore: Add Apache License 2.0 and update README for clarity and structure 2026-03-22 15:30:34 +01:00
extio-de
356de943a3 Update readme 2026-03-14 15:27:14 +01:00
extio-de
d5898e35f5 feat: Add Spring Boot auto-configuration for lm-lib modules
- Introduced auto-configuration classes for profile, client, agent, and prompt modules.
- Updated README to reflect new modular architecture and configuration properties.
- Added selective enabling/disabling of modules via application properties.
- Refactored existing services and strategies to remove unnecessary Spring annotations.
- Enhanced test configurations to utilize auto-configuration.
- Updated META-INF imports to include new auto-configuration classes.
2026-01-05 21:58:12 +01:00
extio-de
b17a1fe517 fix: Correct capitalization of 'jTokkit' in README.md 2026-01-05 21:08:24 +01:00
extio-de
4ebb8640c7 Version 2.0
Java 25, Spring Boot 4, Use RestClient with JDK client backend
2025-12-19 17:58:56 +01:00
extio-de
4c0c30974e refactor: Remove Azure AI client implementation and related configuration 2025-12-19 11:45:33 +01:00
extio-de
55c8e43fb3 feat: Update responseHandler method to accept AgentContext 2025-12-08 22:31:42 +01:00
extio-de
b7c1e90dc7 feat: Update model profile and statistics tracking
- Updated model profile to support new cost parameters: costPerCachedInToken and costPerReasoningOutToken.
- Enhanced AgentRequestStatistic to track cached input tokens and reasoning output tokens.
- Modified CompletionStatistics to include cached input tokens and reasoning output tokens.
- Updated AzureAiClient, CachedClient, and other clients to handle new statistics fields.
- Introduced Timings class to capture detailed timing metrics for requests.
- Adjusted Usage class to include input and output token details.
- Updated properties files to include new cost parameters for cached and reasoning tokens.
2025-11-30 18:19:01 +01:00
extio-de
04beaf6b5f feat: Introduce Grader2 and AnswerGrader2 for improved grading functionality; deprecate legacy Grader and AnswerGrader 2025-11-22 18:40:35 +01:00
extio-de
bd37a143f6 refactor: Update ModelProfile to use costPerInToken and costPerOutToken for better clarity and accuracy 2025-10-31 16:15:37 +01:00
extio-de
179755df45 refactor: Simplify model name loading and update ModelNameSupplier to use ModelProfile 2025-10-29 13:02:14 +01:00
extio-de
304924e223 feat: Enhance agent functionality with ModelProfile integration
- Added ModelProfile to the Agent record to allow for more detailed model configurations.
- Updated AgentExecutorService to utilize ModelProfile when fetching clients.
- Modified BaseAgent interface to include a default modelProfile method.
- Adjusted Client interface and implementations to support ModelProfile in conversation and streaming methods.
- Enhanced ClientService to retrieve clients based on ModelProfile.
- Updated CompletionInterceptor to work with ModelProfile instead of ModelCategory.
- Refactored AzureAiClient and other client implementations to handle ModelProfile correctly.
- Changed CachedClient to cache responses based on ModelProfile.
- Updated ModelCategory to a record type for better validation and immutability.
- Enhanced ModelProfile with validation checks for its fields.
- Updated ModelProfileService to support fetching profiles based on ModelCategory.
- Adjusted tests to accommodate changes in Agent and ModelProfile.
- Updated properties files to include category information for model profiles.
2025-10-29 12:07:36 +01:00
extio-de
11d6d7ce28 refactor: Update README to remove optional dependency on commons-lang3 and increment version to 1.7.1; enhance AzureAiClient with proxy settings and refactor conversation methods; add AnswerGrader class for answer evaluation; improve TextUtils with new methods for string manipulation and regex matching; introduce comprehensive tests for TextUtils functionality. 2025-10-03 21:37:44 +02:00
extio-de
c2687fc29e fix: Correct escape character in README for hidden branching syntax 2025-10-01 20:22:10 +02:00
extio-de
6a94b6e9e9 docs: Expand README with comprehensive examples for BaseAgent and Agent record implementations 2025-10-01 20:17:28 +02:00
extio-de
26366a1f29 docs: Update README with new model profile properties and examples for LLM configuration 2025-10-01 20:05:49 +02:00
extio-de
b638d57047 docs: Clarify execution graph legend in README with detailed symbol meanings and example trace 2025-10-01 19:59:59 +02:00
extio-de
89c0cc5867 feat: Enhance README with reasoning model configuration and clarify streaming behavior 2025-10-01 19:57:01 +02:00
extio-de
db0cb39127 feat: Enhance branching support in BaseAgent with hidden placeholders and improved context handling 2025-09-28 20:52:43 +02:00
extio-de
47b63dcb40 chore: Bump version to 1.6.10 and enhance AgentContext and AgentExecutorService with optional agent list handling 2025-09-14 11:29:48 +02:00
extio-de
d0b256502b Use netty client for Azure, remove proxy configuration 2025-07-13 10:33:17 +02:00
extio-de
df3034e6ca Moved TextUtils to lm-lib 2025-07-05 20:04:56 +02:00
extio-de
b761018f9f readme 2025-06-28 17:58:27 +02:00
extio-de
f62d30fe3b readme 2025-06-28 17:57:43 +02:00
extio-de
53e3543380 Readme 2025-06-28 17:56:07 +02:00
extio-de
d48d5d75a5 readme 2025-06-28 17:43:17 +02:00
extio-de
7cff5bca22 readme 2025-06-28 17:38:18 +02:00
extio-de
42545b8dd5 Update readme 2025-06-28 17:35:28 +02:00
extio-de
fda6971a46 Updated README 2025-06-28 17:26:38 +02:00
extio-de
9ca590a8d4 Implemented agent streaming 2025-06-28 16:55:26 +02:00
extio-de
365043b5a0 Streaming Client 2025-06-28 14:36:26 +02:00
extio-de
2350740136 Introduced OpenAI chat completion client; 2025-06-27 23:39:17 +02:00
extio-de
47ef9ba436 Refactored llm clients, removed maxContinuations feature, exposed finishReason instead; 2025-06-27 20:43:04 +02:00
extio-de
f3706a408a Update readme 2025-06-27 17:59:12 +02:00
extio-de
94894aee85 Merged with tp lmlib 2025-06-27 16:36:46 +02:00
extio-de
dcd6eeee41 Refactor BaseAgent 2025-06-27 10:25:54 +02:00
(no author)
3c412077bb lm-lib: Merged with tp fork;
git-svn-id: svn://home0/lm-lib@3723 71dcc7fd-b1f2-4e5d-bb8e-274146e81173
2025-02-23 19:08:49 +00:00
(no author)
f01309526a lm-lib refactoring;
git-svn-id: svn://home0/lm-lib@3610 71dcc7fd-b1f2-4e5d-bb8e-274146e81173
2024-12-18 18:58:27 +00:00