text-generation-inference/integration-tests/models/__snapshots__/test_tools_llama
drbh 5489406c4a
PR 2634 CI - Fix the tool_choice format for named choice by adapting OpenAIs scheme (#2645)
* add OpenAI like tool_choice for named choice

* add tests

* fix: run linter and bump api docs

* fix: consolidate changes and remove old tool type

* feat: improve, simplify and rename tool choice struct add required support and refactor

* fix: simplify tool choice logic, improve tests, openapi and rust docs

* fix: refactor away prepare_chat_input and improve tool grammar apply control flow

* feat: update docs and add tool choice configuration section

* fix: simplify naming, tool choice default and improve test

* fix: adjust tool choice none logic, add test and small refactors

* fix: add missing snapshot file

* fix: adjust tool choice type in test

* fix: adjust default when json tool choice is

* fix: remove trailing space lint after rebase

* fix: remove mostly mocked unit test

---------

Co-authored-by: Linus Bierhoff <linus.bierhoff@icloud.com>
2024-11-19 13:31:59 -05:00
..
test_flash_llama_grammar_tools_auto.json v2.0.1 2024-04-18 17:20:36 +02:00
test_flash_llama_grammar_tools_choice.json v2.0.1 2024-04-18 17:20:36 +02:00
test_flash_llama_grammar_tools_insufficient_information_stream.json chore: prepare 2.4.0 release (#2695) 2024-10-25 21:10:49 +00:00
test_flash_llama_grammar_tools_insufficient_information.json chore: prepare 2.4.0 release (#2695) 2024-10-25 21:10:49 +00:00
test_flash_llama_grammar_tools_sea_creatures_stream_function_object.json PR 2634 CI - Fix the tool_choice format for named choice by adapting OpenAIs scheme (#2645) 2024-11-19 13:31:59 -05:00
test_flash_llama_grammar_tools_sea_creatures_stream_none.json PR 2634 CI - Fix the tool_choice format for named choice by adapting OpenAIs scheme (#2645) 2024-11-19 13:31:59 -05:00
test_flash_llama_grammar_tools_sea_creatures_stream_required.json PR 2634 CI - Fix the tool_choice format for named choice by adapting OpenAIs scheme (#2645) 2024-11-19 13:31:59 -05:00
test_flash_llama_grammar_tools_sea_creatures_stream.json chore: prepare 2.4.0 release (#2695) 2024-10-25 21:10:49 +00:00
test_flash_llama_grammar_tools_stream.json v2.0.1 2024-04-18 17:20:36 +02:00
test_flash_llama_grammar_tools.json v2.0.1 2024-04-18 17:20:36 +02:00