klotz: functions* + api* + hugging face* + llm*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. Hugging Face introduces a unified tool use API across multiple model families, making it easier to implement tool use in language models.

    Hugging Face has extended chat templates to support tools, offering a unified approach to tool use with the following features:

    - Defining tools: Tools can be defined using JSON schema or Python functions with clear names, accurate type hints, and complete docstrings.
    - Adding tool calls to the chat: Tool calls are added as a field of assistant messages, including the tool type, name, and arguments.
    - Adding tool responses to the chat: Tool responses are added as tool messages containing the tool name and content.

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: functions + api + hugging face + llm

About - Propulsed by SemanticScuttle