Recued
Menu
← Back to recipes

Create a Hugging Face repo discussion

by recued-core v2 24 views

Use “Create a Hugging Face repo discussion” in Recued. It runs the Hugging Face workflow for creating one repository discussion or pull request discussion with approval before changes are made.

How it works 13 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (13 steps)
■ normalized_repo_type trim
Trim whitespace from setting repo type
■ normalized_namespace trim
Trim whitespace from setting namespace
■ normalized_repo trim
Trim whitespace from setting repo
■ normalized_title trim
Trim whitespace from setting title
■ normalized_description trim
Trim whitespace from setting description
■ normalized_reason trim
Trim whitespace from setting reason
◆ existing_discussions_raw recued-core.huggingface.discussion.search
Search discussion on huggingface
◆ create_discussion recued-core.huggingface.discussion.create
Create discussion on huggingface
■ existing_discussions default
Apply default
■ existing_count count
Count items in existing discussions
■ discussion_rows slice
Take a subset of
■ discussion_table to_table
Format results as a data table
■ card to_summary
Format results as a summary card
▼
Output
summary card
table discussion_table
Settings 7 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

repo setting =
title setting =
reason setting =
namespace setting =
repo type setting = models
description setting =
pull request setting = false

Uses (2 operations)

Pack operation Search discussion on huggingface recued-core.huggingface.discussion.search
Pack operation Create discussion on huggingface recued-core.huggingface.discussion.create

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Huggingface connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

huggingface huggingfacediscussionmodelsdatasetsspacesapprovalpack:huggingface

Details

13 steps 7 configurable settings recipe_id: create-repo-discussion-huggingface