| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
* Add a codex backtranslation example to improve SQL queries (openai#58) * Add a codex backtranslation example to improve SQL queries * Boris update ft example (openai#57) * update fine-tune example to show the new CLI outputs * model specifiction for search (openai#60) * Catch chunked encoding errors and retry (openai#63) * Add batch suggestion logic to prepare_data for fine_tunes and custom Q&A answers logic (openai#62) * Add batch suggestion logic to prepare_data for fine_tunes; add an example of how to create a rudimentary answers endpoint with a custom Q&A model Co-authored-by: Madeleine Thompson <madeleine@openai.com> Co-authored-by: hallacy <hallacy@openai.com>
* Add a codex backtranslation example to improve SQL queries (openai#58) * Add a codex backtranslation example to improve SQL queries * Boris update ft example (openai#57) * update fine-tune example to show the new CLI outputs * model specifiction for search (openai#60) * Catch chunked encoding errors and retry (openai#63) * Add batch suggestion logic to prepare_data for fine_tunes and custom Q&A answers logic (openai#62) * Add batch suggestion logic to prepare_data for fine_tunes; add an example of how to create a rudimentary answers endpoint with a custom Q&A model Co-authored-by: Madeleine Thompson <madeleine@openai.com> Co-authored-by: hallacy <hallacy@openai.com>
…enai#60) This PR introduces a `strict_mode: bool = True` option to `@function_tool`, allowing optional parameters when set to False. This change enables more flexibility while maintaining strict JSON schema validation by default. resolves openai#43 ## Changes: - Added `strict_mode` parameter to `@function_tool` and passed it to `function_schema` and `FunctionTool`. - Updated `function_schema.py` to respect `strict_mode` and allow optional parameters when set to False. - Added unit tests to verify optional parameters work correctly, including multiple optional params with different types. ## Tests: - Verified function calls with missing optional parameters behave as expected. - Added async tests to validate behavior under different configurations.
| Back | FazBrowse Home | New Git URL |
No description provided.