Commit Graph

32 Commits

Author SHA1 Message Date
extio-de
4c0c30974e refactor: Remove Azure AI client implementation and related configuration 2025-12-19 11:45:33 +01:00
extio-de
d2f5c46847 Convert spaces to tabs 2025-12-13 15:26:38 +01:00
extio-de
353870dd79 Add CsvAgentResponseHandler 2025-12-09 21:18:39 +01:00
extio-de
e7c8dc3e2a feat: Enhance JsonAgentResponseHandler with JSON sanitization and add comprehensive unit tests 2025-12-09 21:03:40 +01:00
extio-de
6b93479b36 test: Enable test disabling for Llama server dependency in GraderTest 2025-12-08 21:58:39 +01:00
extio-de
28a1fde3ef feat: Add CsvAgentResponseHandler and corresponding tests for CSV parsing functionality 2025-12-08 21:57:30 +01:00
extio-de
0bc9468827 feat: Refactor grading logic to utilize ModelProfile and ClientService in Grader2 and related tests 2025-12-02 21:41:07 +01:00
extio-de
e539ec44e1 bump version to 1.9.0 in pom.xml and disable CompletionClientTest 2025-11-30 18:21:05 +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
4c14b510fc test: Disable test requiring Llama server or Azure subscription 2025-11-22 18:42:21 +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
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
5853e53c60 feat: Add Levenshtein distance and similarity methods with corresponding tests 2025-10-27 14:28:15 +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
514dad1c7f feat: Introduce reasoning capabilities in chat and text completion
- Added AbstractCompletionRequest and AbstractCompletionResponse classes to standardize request and response structures.
- Implemented StreamOptions for streaming responses in chat completions.
- Enhanced ChatCompletionClient and TextCompletionClient to support reasoning content in responses.
- Updated ModelProfile to include reasoning effort and summary details.
- Created GptOssPromptStrategy to handle specific prompt formatting and reasoning extraction.
- Modified existing tests to validate reasoning content in completions.
- Updated configuration properties for reasoning settings in local properties files.
2025-10-01 19:05:15 +02:00
extio-de
d9fae7eebd chore: Update version to 1.6.6 and refactor agentType method for context handling 2025-07-10 00:20:16 +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
eee37a5648 Rename oai client package 2025-06-27 21:49:30 +02:00
extio-de
47ef9ba436 Refactored llm clients, removed maxContinuations feature, exposed finishReason instead; 2025-06-27 20:43:04 +02:00
extio-de
bef3ef1468 Deprecated Client#completion and removed redundant question parameter 2025-06-27 17:35:48 +02:00
extio-de
11a4ab1271 Moved oai client packages 2025-06-27 16:46:56 +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
extio-de
c3fd40f4a7 AgentNext.END constant and bump version to 1.5.6 2025-06-25 20:20:50 +02:00
extio-de
d76e2e8f4f Added Grader to library 2025-06-23 20:16:23 +02:00
extio-de
2378e8c758 Moved Agent implementation to BaseAgent interface 2025-06-23 09:09:24 +02:00
(no author)
63087a1cd6 More resilient json parsing; Removed responseAsUserPrompt feature; Better error handling; chooseNextAgent() is called after merger(); apply templates: multiple [[]] branched placeholders are now possible; New AgentType.CONVERSATION_WITH_SYSTEM_PROMPT;
git-svn-id: svn://home0/lm-lib@3644 71dcc7fd-b1f2-4e5d-bb8e-274146e81173
2024-12-21 14:45:53 +00:00
(no author)
02469202b9 lm-lib refactoring;
git-svn-id: svn://home0/lm-lib@3611 71dcc7fd-b1f2-4e5d-bb8e-274146e81173
2024-12-18 18:59:23 +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
(no author)
c1a283305d lm-lib first commit;
git-svn-id: svn://home0/lm-lib@3603 71dcc7fd-b1f2-4e5d-bb8e-274146e81173
2024-12-16 20:58:04 +00:00