Skip to content

Implementation of LarkGrammar and Regex functions based on responsives.create and custom functions.#35

Draft
NiceCode666 wants to merge 18 commits intodevfrom
feature/llm-params
Draft

Implementation of LarkGrammar and Regex functions based on responsives.create and custom functions.#35
NiceCode666 wants to merge 18 commits intodevfrom
feature/llm-params

Conversation

@NiceCode666
Copy link
Contributor

@NiceCode666 NiceCode666 commented Oct 10, 2025

  1. Attempt to improve the accuracy of model responses and boundary handling of streaming output results
  2. Users can correctly pass parameters to OpenAI SDK without learning omit parameters when calling the model API
  3. Add the name field and related test cases to extras
  4. Implement LarkGrammar and Regex using responsives.create and custom functions

…sponse content. Updated type hints to reflect changes in return types for `tool_select` and `atool_select` methods. Added serialization support for OpenAILlm class with new `dump_to_dict` and `load_from_dict` methods. Updated tests to align with new return structure.
… response. This change enhances clarity in the return types of `tool_select` and `atool_select` methods in both `protocol.py` and `openai_llm.py` files.
… for tool selection response. Updated test to assert tool calls and response content when using OpenAI API.
…d names for consistency. Adjust tests to reflect new method names in OpenAILlm and VllmServerLlm classes.
…ser, and assistant roles. Add test to verify inclusion of name in response content.
…n message extras, including system, user, and assistant roles. Implement tests for multiple users and edge cases with name handling.
…lms-openai from 0.1.0.dev11 to 0.1.0.dev12 and from 0.1.0.dev2 to 0.1.0.dev3, respectively, to reflect the latest development changes.
…nai from 0.1.0.dev10 to 0.1.0.dev12, and for bridgic-llms-openai from 0.1.0.dev1 to 0.1.0.dev3, to reflect the latest development changes.
… tool_choice parameters to None. Add new test for handling empty tool selection in OpenAI server response.
…v12 to 0.1.0.dev13 and for bridgic-llms-openai from 0.1.0.dev3 to 0.1.0.dev4 to reflect the latest development changes.
…0.1.0.dev13, and for bridgic-llms-openai from 0.1.0.dev3 to 0.1.0.dev4, to reflect the latest development changes.
…esence_penalty, frequency_penalty, parallel_tool_calls, and tool_choice to use Omit for optional values, enhancing flexibility in API usage.
…ses for better identification, and implement filter_dict utility to streamline parameter handling in API calls. Update tests to reflect changes in constraint definitions and improve regex handling.
@NiceCode666 NiceCode666 changed the title Enhance OpenAILlm: add 'name' attribute to Regex and LarkGrammar classes for better identification, and implement filter_dict utility to streamline parameter handling in API calls. Update tests to reflect changes in constraint definitions and improve regex handling. Optimization of model response accuracy and streaming output, simplification of API parameter passing, extension of extra field support, and implementation of LarkGrammar and Regex functions based on responsives.create and custom functions. Oct 11, 2025
…list_in_order, and deep_hash. Cover various scenarios including filtering None values, deduplication, and hashing nested structures to ensure functionality and reliability.
… bridgic-core and bridgic-llms-openai. Enhance OpenAILlm by adding OpenAIConfiguration class for better parameter management in API calls, ensuring streamlined handling of model settings.
@NiceCode666 NiceCode666 marked this pull request as draft October 11, 2025 06:43
Base automatically changed from dev to main October 21, 2025 13:42
@NiceCode666 NiceCode666 changed the title Optimization of model response accuracy and streaming output, simplification of API parameter passing, extension of extra field support, and implementation of LarkGrammar and Regex functions based on responsives.create and custom functions. Implementation of LarkGrammar and Regex functions based on responsives.create and custom functions. Oct 22, 2025
@NiceCode666 NiceCode666 changed the base branch from main to dev October 22, 2025 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant