From 265f3527e5a4141b95ddd396d1c66e88bf1149fd Mon Sep 17 00:00:00 2001 From: Eliott C Date: Mon, 22 Jan 2024 10:31:36 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D=20Move=20hub=20before=20agents?= =?UTF-8?q?=20in=20doc=20(#451)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Due to `oauthLogin` recently added to `hub` & low activity on `agents` cc @nsarrazin @osanseviero --- README.md | 2 +- docs/_toctree.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b5283dc9e..4d423ac0a 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ await inference.textToImage({ This is a collection of JS libraries to interact with the Hugging Face API, with TS types included. - [@huggingface/inference](packages/inference/README.md): Use the Inference API to make calls to 100,000+ Machine Learning models, or your own [inference endpoints](https://hf.co/docs/inference-endpoints/)! -- [@huggingface/agents](packages/agents/README.md): Interact with HF models through a natural language interface - [@huggingface/hub](packages/hub/README.md): Interact with huggingface.co to create or delete repos and commit / download files +- [@huggingface/agents](packages/agents/README.md): Interact with HF models through a natural language interface With more to come, like `@huggingface/endpoints` to manage your HF Endpoints! diff --git a/docs/_toctree.yml b/docs/_toctree.yml index 2dcc32c4f..9eca25a75 100644 --- a/docs/_toctree.yml +++ b/docs/_toctree.yml @@ -7,13 +7,6 @@ title: Use the Inference API - local: inference/modules title: API Reference -- title: "@huggingface/agent" - isExpanded: true - sections: - - local: agents/README - title: Use Agents to run multi-modal workflows from a natural language API - - local: agents/modules - title: API Reference - title: "@huggingface/hub" isExpanded: true sections: @@ -21,3 +14,10 @@ title: Interact with the Hub - local: hub/modules title: API Reference +- title: "@huggingface/agent" + isExpanded: true + sections: + - local: agents/README + title: Use Agents to run multi-modal workflows from a natural language API + - local: agents/modules + title: API Reference From de90a9ea5f0448d05a9a05cb330d63f2e118fc24 Mon Sep 17 00:00:00 2001 From: Eliott C Date: Tue, 23 Jan 2024 13:21:15 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20Use=20"choice"=20to=20select?= =?UTF-8?q?=20version=20bump=20type=20(#453)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Better publish interface, using a select instead of a text input --- .github/workflows/agents-publish.yml | 7 ++++++- .github/workflows/hub-publish.yml | 7 ++++++- .github/workflows/inference-publish.yml | 7 ++++++- .github/workflows/jinja-publish.yml | 7 ++++++- .github/workflows/languages-publish.yml | 7 ++++++- .github/workflows/tasks-publish.yml | 7 ++++++- .github/workflows/widgets-publish.yml | 7 ++++++- 7 files changed, 42 insertions(+), 7 deletions(-) diff --git a/.github/workflows/agents-publish.yml b/.github/workflows/agents-publish.yml index c9987bcce..143998594 100644 --- a/.github/workflows/agents-publish.yml +++ b/.github/workflows/agents-publish.yml @@ -4,8 +4,13 @@ on: workflow_dispatch: inputs: newversion: - description: "Semantic Version Bump Type (major minor patch)" + type: choice + description: "Semantic Version Bump Type" default: patch + options: + - patch + - minor + - major concurrency: group: "push-to-main" diff --git a/.github/workflows/hub-publish.yml b/.github/workflows/hub-publish.yml index e971166e2..d5f6a0ebc 100644 --- a/.github/workflows/hub-publish.yml +++ b/.github/workflows/hub-publish.yml @@ -4,8 +4,13 @@ on: workflow_dispatch: inputs: newversion: - description: "Semantic Version Bump Type (major minor patch)" + type: choice + description: "Semantic Version Bump Type" default: patch + options: + - patch + - minor + - major concurrency: group: "push-to-main" diff --git a/.github/workflows/inference-publish.yml b/.github/workflows/inference-publish.yml index df2e6c2f0..bb83e20aa 100644 --- a/.github/workflows/inference-publish.yml +++ b/.github/workflows/inference-publish.yml @@ -4,8 +4,13 @@ on: workflow_dispatch: inputs: newversion: - description: "Semantic Version Bump Type (major minor patch)" + type: choice + description: "Semantic Version Bump Type" default: patch + options: + - patch + - minor + - major concurrency: group: "push-to-main" diff --git a/.github/workflows/jinja-publish.yml b/.github/workflows/jinja-publish.yml index cc246ffd3..7f28726d6 100644 --- a/.github/workflows/jinja-publish.yml +++ b/.github/workflows/jinja-publish.yml @@ -4,8 +4,13 @@ on: workflow_dispatch: inputs: newversion: - description: "Semantic Version Bump Type (major minor patch)" + type: choice + description: "Semantic Version Bump Type" default: patch + options: + - patch + - minor + - major concurrency: group: "push-to-main" diff --git a/.github/workflows/languages-publish.yml b/.github/workflows/languages-publish.yml index 10d72c1bc..4b1663e74 100644 --- a/.github/workflows/languages-publish.yml +++ b/.github/workflows/languages-publish.yml @@ -4,8 +4,13 @@ on: workflow_dispatch: inputs: newversion: - description: "Semantic Version Bump Type (major minor patch)" + type: choice + description: "Semantic Version Bump Type" default: patch + options: + - patch + - minor + - major concurrency: group: "push-to-main" diff --git a/.github/workflows/tasks-publish.yml b/.github/workflows/tasks-publish.yml index 8192a62a1..a169a60ce 100644 --- a/.github/workflows/tasks-publish.yml +++ b/.github/workflows/tasks-publish.yml @@ -4,8 +4,13 @@ on: workflow_dispatch: inputs: newversion: - description: "Semantic Version Bump Type (major minor patch)" + type: choice + description: "Semantic Version Bump Type" default: patch + options: + - patch + - minor + - major concurrency: group: "push-to-main" diff --git a/.github/workflows/widgets-publish.yml b/.github/workflows/widgets-publish.yml index 33b2ec6aa..ffbd94e41 100644 --- a/.github/workflows/widgets-publish.yml +++ b/.github/workflows/widgets-publish.yml @@ -4,8 +4,13 @@ on: workflow_dispatch: inputs: newversion: - description: "Semantic Version Bump Type (major minor patch)" + type: choice + description: "Semantic Version Bump Type" default: patch + options: + - patch + - minor + - major defaults: run: