hf_text-generation-inference/docs
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
..
source PR 2634 CI - Fix the tool_choice format for named choice by adapting OpenAIs scheme (#2645) 2024-11-19 13:31:59 -05:00
README.md Update documentation version to 2.0.4 (#1980) 2024-05-31 16:03:24 +02:00
index.html chore: add pre-commit (#1569) 2024-02-16 11:58:58 +01:00
openapi.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

README.md

Documentation available at: https://huggingface.co/docs/text-generation-inference

Release

When making a release, please update the latest version in the documentation with:

export OLD_VERSION="2\.0\.3"
export NEW_VERSION="2\.0\.4"
find . -name '*.md' -exec sed -i -e "s/$OLD_VERSION/$NEW_VERSION/g" {} \;